]> git.eshelyaron.com Git - emacs.git/commit
Avoid crashes rescaling fonts with long names
authorPo Lu <luangruo@yahoo.com>
Tue, 22 Aug 2023 09:34:41 +0000 (17:34 +0800)
committerPo Lu <luangruo@yahoo.com>
Tue, 22 Aug 2023 09:34:41 +0000 (17:34 +0800)
commit8e51a3e3f8fc6dcb7b195bf57722a72a281552e8
tree06c8a8580bd2f2b92bab762b1030315bff4ec00d
parent269fd08dabf2d1fc07e52fa7f93b42daf1d3f6c8
Avoid crashes rescaling fonts with long names

* src/font.c (font_rescale_ratio): Check NAME is not nil before
matching it against a regexp.
src/font.c