diff options
| author | Mike Dalessio <mike.dalessio@gmail.com> | 2023-08-29 15:12:06 -0400 |
|---|---|---|
| committer | git <svn-admin@ruby-lang.org> | 2023-08-30 18:27:48 +0000 |
| commit | 476f38d62dd24caf80c586b642a25ede66b13fab (patch) | |
| tree | 93ae7c9b3075ab03aae6f96cac2c896a0f8cdd7f /test | |
| parent | 3da139d28428d9889f6b6680400242f400e3175e (diff) | |
[ruby/yarp] fix: ":" at the end of a file
Previously this resulted in invalid memory access.
Found by the fuzzer.
https://github.com/ruby/yarp/commit/c781c9fcd2
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 dd8a25864c..6962e6be76 100644 --- a/test/yarp/fuzzer_test.rb +++ b/test/yarp/fuzzer_test.rb @@ -13,4 +13,5 @@ class FuzzerTest < Test::Unit::TestCase end snippet "incomplete global variable", "$" + snippet "incomplete symbol", ":" end |
