[cff] Fix uninitialized memory.

Problem reported as

  https://bugzilla.mozilla.org/show_bug.cgi?id=1270288

* src/cff/cf2interp.c (cf2_interpT2CharString): Initialize `storage'
array to handle a `get' opcode without a previous `put'.
This commit is contained in:
Jonathan Kew 2016-09-06 06:33:36 +02:00 committed by Werner Lemberg
parent 9773d5f721
commit a15133e6ef
2 changed files with 13 additions and 0 deletions

View File

@ -1,3 +1,14 @@
2016-09-06 Jonathan Kew <jfkthame@gmail.com>
[cff] Fix uninitialized memory.
Problem reported as
https://bugzilla.mozilla.org/show_bug.cgi?id=1270288
* src/cff/cf2interp.c (cf2_interpT2CharString): Initialize `storage'
array to handle a `get' opcode without a previous `put'.
2016-09-05 Alexei Podtelezhnikov <apodtele@gmail.com>
* src/smooth/ftgrays.c (gray_move_to, gray_start_cell): Revert.

View File

@ -469,6 +469,8 @@
CF2_GlyphPathRec glyphPath;
FT_ZERO( &storage );
/* initialize the remaining objects */
cf2_arrstack_init( &subrStack,
memory,