]> git.eshelyaron.com Git - emacs.git/commit
Fix crash when reading TTC font for glyph mapping table selection
authorPo Lu <luangruo@yahoo.com>
Thu, 10 Aug 2023 00:58:04 +0000 (08:58 +0800)
committerPo Lu <luangruo@yahoo.com>
Thu, 10 Aug 2023 00:58:04 +0000 (08:58 +0800)
commita5c79499e3ef9723504e36af3ba7b98435501166
treebaf6722bd27b7ad9d5b5cb94468b387f6871e02a
parente39e2fa716cf980cfccb68ab304ad94b2fe86201
Fix crash when reading TTC font for glyph mapping table selection

* src/sfnt.c (sfnt_read_cmap_table): Seek to the table directory
if DESC->offset is provided.
* src/sfntfont.c (sfntfont_read_cmap): Accurately verify cmap
subtable header size.  (bug#65185)
src/sfnt.c
src/sfntfont.c