freetype2/include/freetype/internal
Werner Lemberg 0d1c306e51 [psaux] Guard and trace AFM kern data allocation.
Reported as

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

* include/freetype/internal/fttrace.h: Add 'afmparse' trace
component.

* src/psaux/afmparse.c (FT_COMPONENT): Define.
(afm_parse_track_kern, afm_parse_kern_pairs): Protect against
allocations bombs.
Add tracing.
(afm_parse_kern_data): Don't allow multiple kern data sections.
2021-05-25 11:27:56 +02:00
..
services Update all copyright notices. 2021-01-17 07:18:48 +01:00
autohint.h Update all copyright notices. 2021-01-17 07:18:48 +01:00
cffotypes.h Update all copyright notices. 2021-01-17 07:18:48 +01:00
cfftypes.h Update all copyright notices. 2021-01-17 07:18:48 +01:00
compiler-macros.h Minor editing of last commit; formatting. 2021-02-13 07:50:04 +01:00
ftcalc.h Update all copyright notices. 2021-01-17 07:18:48 +01:00
ftdebug.h Update all copyright notices. 2021-01-17 07:18:48 +01:00
ftdrv.h Update all copyright notices. 2021-01-17 07:18:48 +01:00
ftgloadr.h Update all copyright notices. 2021-01-17 07:18:48 +01:00
fthash.h Remove redundant inclusion of `ft2build.h'. 2020-06-13 21:15:45 +02:00
ftmemory.h Update all copyright notices. 2021-01-17 07:18:48 +01:00
ftobjs.h Update all copyright notices. 2021-01-17 07:18:48 +01:00
ftpsprop.h Update all copyright notices. 2021-01-17 07:18:48 +01:00
ftrfork.h Update all copyright notices. 2021-01-17 07:18:48 +01:00
ftserv.h Update all copyright notices. 2021-01-17 07:18:48 +01:00
ftstream.h Update all copyright notices. 2021-01-17 07:18:48 +01:00
fttrace.h [psaux] Guard and trace AFM kern data allocation. 2021-05-25 11:27:56 +02:00
ftvalid.h Update all copyright notices. 2021-01-17 07:18:48 +01:00
psaux.h Update all copyright notices. 2021-01-17 07:18:48 +01:00
pshints.h Update all copyright notices. 2021-01-17 07:18:48 +01:00
sfnt.h [sfnt] Provide optional root transform for 'COLR' v1 glyph graph. 2021-02-10 18:51:04 +01:00
t1types.h Update all copyright notices. 2021-01-17 07:18:48 +01:00
tttypes.h Update all copyright notices. 2021-01-17 07:18:48 +01:00
wofftypes.h Update all copyright notices. 2021-01-17 07:18:48 +01:00