freetype2/src/cff
Ben Wagner b5e003f1f2 [cff] Commit vstore data and regions on allocation.
The vstore->regionCount and vstore->dataCount were read directly
from the data. However, vstore->varRegionList and vstore->varData
would still contain uninitialized entries with uninitialized
pointers in the event of an error, leading to issues when attempting
to clean up.

Reportd as
  https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=40104

* src/cff/cffload.c (cff_vstore_load): Read the region and data counts
into locals and update the vstore counts immediately after each entry
becomes free-able.
2021-10-21 09:48:38 -04:00
..
cff.c Update all copyright notices. 2021-01-17 07:18:48 +01:00
cffcmap.c Update all copyright notices. 2021-01-17 07:18:48 +01:00
cffcmap.h Update all copyright notices. 2021-01-17 07:18:48 +01:00
cffdrivr.c * src/cff/cffdrivr.c (cff_ps_get_font_{info,extra}): Use FT_QNEW. 2021-09-20 14:31:45 -04:00
cffdrivr.h Update all copyright notices. 2021-01-17 07:18:48 +01:00
cfferrs.h Update all copyright notices. 2021-01-17 07:18:48 +01:00
cffgload.c Signedness revisions. 2021-10-07 22:41:56 -04:00
cffgload.h Update all copyright notices. 2021-01-17 07:18:48 +01:00
cffload.c [cff] Commit vstore data and regions on allocation. 2021-10-21 09:48:38 -04:00
cffload.h Update all copyright notices. 2021-01-17 07:18:48 +01:00
cffobjs.c Use NULL for pointers only. 2021-09-23 23:10:26 -04:00
cffobjs.h Update all copyright notices. 2021-01-17 07:18:48 +01:00
cffparse.c Fix compilation errors and (some) warnings for clang++. 2021-05-29 09:51:04 +02:00
cffparse.h Update all copyright notices. 2021-01-17 07:18:48 +01:00
cfftoken.h Update all copyright notices. 2021-01-17 07:18:48 +01:00
module.mk Update all copyright notices. 2021-01-17 07:18:48 +01:00
rules.mk Update all copyright notices. 2021-01-17 07:18:48 +01:00