]> git.eshelyaron.com Git - emacs.git/commit
Fix double free upon encountering invalid font
authorPo Lu <luangruo@yahoo.com>
Wed, 8 Mar 2023 02:19:26 +0000 (10:19 +0800)
committerPo Lu <luangruo@yahoo.com>
Wed, 8 Mar 2023 02:19:26 +0000 (10:19 +0800)
commitfdff5442a59fd2387c23e2be2658dafa39466891
tree1ccd0863e2678c488a11af4072b57223ba61fc91
parent06cfa27e372be135646ed736ff48d9ad199c955c
Fix double free upon encountering invalid font

* src/sfnt.c (sfnt_read_cmap_table): Don't allocate too big
data.  Also, free elements of (*data), not offsets into data
itself.
src/sfnt.c