diff options
| author | Mike Dalessio <mike.dalessio@gmail.com> | 2023-08-29 23:03:16 -0400 |
|---|---|---|
| committer | git <svn-admin@ruby-lang.org> | 2023-08-30 18:27:51 +0000 |
| commit | 7cebb9b737eddced828073453004720f9970be6a (patch) | |
| tree | e2619599d91cf86fafba6129a94a5b0f6da93292 /test | |
| parent | 46e47404a8734efd7f312e29e2fb705dd2f40291 (diff) | |
[ruby/yarp] fix: incomplete escape in list at the end of file
Previously this resulted in invalid memory access.
Found by the fuzzer.
https://github.com/ruby/yarp/commit/78ed75ed75
Diffstat (limited to 'test')
| -rw-r--r-- | test/yarp/fuzzer_test.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/yarp/fuzzer_test.rb b/test/yarp/fuzzer_test.rb index 6f8cde0d09..52d7f77e9f 100644 --- a/test/yarp/fuzzer_test.rb +++ b/test/yarp/fuzzer_test.rb @@ -21,4 +21,5 @@ class FuzzerTest < Test::Unit::TestCase snippet "incomplete binary number", "0b" snippet "incomplete octal number", "0o" snippet "incomplete hex number", "0x" + snippet "incomplete escaped list", "%w[\\" end |
