forked from minhngoc25a/freetype2
[cff] Fix compiler warning (#55105).
* src/cff/cffparse.c (cff_parser_run): Guard label only used if CFF_CONFIG_OPTION_OLD_ENGINE is active.
This commit is contained in:
parent
74cdd75f6f
commit
1fc6937f7f
|
@ -1,6 +1,13 @@
|
|||
2018-11-27 Ben Wagner <bungeman@google.com>
|
||||
|
||||
[truetype Fix numeric overflow (#55103).
|
||||
[cff] Fix compiler warning (#55105).
|
||||
|
||||
* src/cff/cffparse.c (cff_parser_run): Guard label only used if
|
||||
CFF_CONFIG_OPTION_OLD_ENGINE is active.
|
||||
|
||||
2018-11-27 Ben Wagner <bungeman@google.com>
|
||||
|
||||
[truetype] Fix numeric overflow (#55103).
|
||||
|
||||
* src/truetype/ttgload.c (compute_glyph_metrics): Use `SUB_LONG'.
|
||||
|
||||
|
|
|
@ -1534,9 +1534,11 @@
|
|||
#endif
|
||||
return error;
|
||||
|
||||
#ifdef CFF_CONFIG_OPTION_OLD_ENGINE
|
||||
Out_Of_Memory_Error:
|
||||
error = FT_THROW( Out_Of_Memory );
|
||||
goto Exit;
|
||||
#endif
|
||||
|
||||
Stack_Overflow:
|
||||
error = FT_THROW( Invalid_Argument );
|
||||
|
|
Loading…
Reference in New Issue