forked from minhngoc25a/freetype2
* src/sfnt/sfwoff2 (reconstruct_glyf): Fix reallocation.
Reported as https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=18046
This commit is contained in:
parent
0fcf486e0d
commit
1167bff3e9
|
@ -1,3 +1,11 @@
|
|||
2019-10-06 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
* src/sfnt/sfwoff2 (reconstruct_glyf): Fix reallocation.
|
||||
|
||||
Reported as
|
||||
|
||||
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=18046
|
||||
|
||||
2019-10-06 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
Improve memory debugging.
|
||||
|
|
|
@ -1235,6 +1235,9 @@
|
|||
if ( !error )
|
||||
error = FT_THROW( Invalid_Table );
|
||||
|
||||
/* Set pointer `sfnt_bytes' to its correct value. */
|
||||
*sfnt_bytes = sfnt;
|
||||
|
||||
FT_FREE( substreams );
|
||||
FT_FREE( loca_values );
|
||||
FT_FREE( n_points_arr );
|
||||
|
|
Loading…
Reference in New Issue