ref: 837ad9d4115018f6b67fe832fdd7b68efee20c49
parent: 8b76eaf092f2b100f9a111c429d2c71c0a76fe91
author: Werner Lemberg <[email protected]>
date: Thu Oct 15 17:15:45 EDT 2015
* src/truetype/ttinterp.c (TT_RunIns): Fix bytecode stack tracing. The used indices were off by 1.
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2015-10-15 Werner Lemberg <[email protected]>
+
+ * src/truetype/ttinterp.c (TT_RunIns): Fix bytecode stack tracing.
+
+ The used indices were off by 1.
+
2015-10-15 Bungeman <[email protected]>
Werner Lemberg <[email protected]>
--- a/src/truetype/ttinterp.c
+++ b/src/truetype/ttinterp.c
@@ -7565,7 +7565,7 @@
? 2
: 12 - ( *opcode_name[exc->opcode] - '0' ),
"#" ));
- for ( n = 0; n < cnt; n++ )
+ for ( n = 1; n <= cnt; n++ )
FT_TRACE7(( " %d", exc->stack[exc->top - n] ));
FT_TRACE6(( "\n" ));
}