]> git.eshelyaron.com Git - emacs.git/commit
Uniformly verify sfnt_read_table_directory doesn't return TTC header
authorPo Lu <luangruo@yahoo.com>
Thu, 10 Aug 2023 09:24:24 +0000 (17:24 +0800)
committerPo Lu <luangruo@yahoo.com>
Thu, 10 Aug 2023 09:25:49 +0000 (17:25 +0800)
commit65f71ca9aaa1587284293e2e34a0e28ee6b42380
tree0e70ed087c0c7c2d33e476067ac31fcc044ad9c5
parentf48e47fb49e1e552a6e63ae13e9b4b76722ec598
Uniformly verify sfnt_read_table_directory doesn't return TTC header

* src/sfntfont.c (sfnt_enum_font, sfntfont_read_cmap)
(sfnt_open_tables): Check for -1 return value from
sfnt_read_table_directory.
src/sfntfont.c