Commit 222bd972 authored by Yukihiro "Matz" Matsumoto's avatar Yukihiro "Matz" Matsumoto

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

Fix out of boundary scan in case of octal formatted string
parents b8e5a570 7127bded
...@@ -3316,7 +3316,7 @@ read_escape(parser_state *p) ...@@ -3316,7 +3316,7 @@ read_escape(parser_state *p)
break; break;
} }
} }
c = scan_oct(buf, i+1, &i); c = scan_oct(buf, i, &i);
} }
return c; return c;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment