diff options
| author | Mike Dalessio <mike.dalessio@gmail.com> | 2023-08-31 18:40:29 -0400 |
|---|---|---|
| committer | git <svn-admin@ruby-lang.org> | 2023-08-31 22:40:35 +0000 |
| commit | df4c77608e76068deed58b2781674b0eb247c325 (patch) | |
| tree | 4d159be612246f572dbce77d9bc1f49b4c2af6f7 /test/ruby | |
| parent | 9930363aab6ac4b8d7034baff85cd86c17953dc9 (diff) | |
[ruby/yarp] fix: octal, hex, and unicode strings at the end of a
file
(https://github.com/ruby/yarp/pull/1371)
* refactor: move EOF check into yp_unescape_calculate_difference
parser_lex is a bit more readable when we can rely on that behavior
* fix: octal and hex digits at the end of a file
Previously this resulted in invalid memory access.
* fix: unicode strings at the end of a file
Previously this resulted in invalid memory access.
* Unterminated curly-bracket unicode is a syntax error
https://github.com/ruby/yarp/commit/21cf11acb5
Diffstat (limited to 'test/ruby')
0 files changed, 0 insertions, 0 deletions
