Fix heap overflow in testpaint

This commit is contained in:
Ted John 2016-09-24 20:06:43 +01:00
parent fffb4b1d7b
commit 25aabf6470
1 changed files with 1 additions and 1 deletions

View File

@ -244,7 +244,7 @@ namespace Intercept2
if (edge.offset == 0) {
sprintf(out, " 0/%X ", edge.type);
} else {
utf8string offset = new utf8[3];
utf8string offset = new utf8[16];
if (edge.offset < 0) {
sprintf(offset, "%d", edge.offset);
} else {