Commit 7127bded authored by Takashi Sogabe's avatar Takashi Sogabe

Fix out of boundary scan in case of octal formatted string

This patch fixes a side effect of #2e795353
parent b8e5a570
......@@ -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;
......
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