mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
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:
+1
-1
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user