Merge pull request #591 from iij/pr-string-octal2

Fix out of boundary scan in case of octal formatted string
This commit is contained in:
Yukihiro "Matz" Matsumoto
2012-12-05 07:15:50 -08:00
+1 -1
View File
@@ -3316,7 +3316,7 @@ read_escape(parser_state *p)
break;
}
}
c = scan_oct(buf, i+1, &i);
c = scan_oct(buf, i, &i);
}
return c;