* src/sfnt/sfwoff2 (reconstruct_font): Fix reallocation.
Reported as https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=17966
This commit is contained in:
parent
c912690d22
commit
1f4e5bcb19
|
@ -1,3 +1,11 @@
|
|||
2019-10-03 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
* src/sfnt/sfwoff2 (reconstruct_font): Fix reallocation.
|
||||
|
||||
Reported as
|
||||
|
||||
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=17966
|
||||
|
||||
2019-10-01 Alexei Podtelezhnikov <apodtele@gmail.com>
|
||||
|
||||
* src/base/ftstroke.c (ft_stroker_inside): Speed up.
|
||||
|
|
|
@ -1706,6 +1706,9 @@
|
|||
if ( !error )
|
||||
error = FT_THROW( Invalid_Table );
|
||||
|
||||
/* Set pointer of sfnt stream to its correct value. */
|
||||
*sfnt_bytes = sfnt;
|
||||
|
||||
FT_FREE( table_entry );
|
||||
FT_Stream_Close( stream );
|
||||
FT_FREE( stream );
|
||||
|
|
Loading…
Reference in New Issue