ref: 1fc6937f7fa3bd80edbadc1e3c69d21dd9929e74
parent: 74cdd75f6fb5c6df74f12e4724ecd84edab0dddd
author: Ben Wagner <[email protected]>
date: Tue Nov 27 13:02:44 EST 2018
[cff] Fix compiler warning (#55105). * src/cff/cffparse.c (cff_parser_run): Guard label only used if CFF_CONFIG_OPTION_OLD_ENGINE is active.
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,13 @@
2018-11-27 Ben Wagner <[email protected]>
- [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 <[email protected]>
+
+ [truetype] Fix numeric overflow (#55103).
* src/truetype/ttgload.c (compute_glyph_metrics): Use `SUB_LONG'.
--- a/src/cff/cffparse.c
+++ b/src/cff/cffparse.c
@@ -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 );