Fix out of boundary scan in case of octal formatted string

This patch fixes a side effect of #2e7953536e
This commit is contained in:
Takashi Sogabe
2012-12-05 16:15:55 +09:00
parent b8e5a57047
commit 7127bded17
+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;