diff options
author | Kevin Newton <kddnewton@gmail.com> | 2023-11-01 14:28:01 -0400 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2023-11-02 22:14:08 +0000 |
commit | ee7bf4643d2716d44e13a732caf588b1a6275f7a (patch) | |
tree | a943be03a2f1719a8588b3e6a4d9806a4f09489d /string.c | |
parent | c6f5c64639152b950d4d1ccbaa199b621099e2a5 (diff) | |
download | ruby-ee7bf4643d2716d44e13a732caf588b1a6275f7a.tar.gz |
[ruby/prism] Handle invalid constants in the constant pool
It's possible for us to parse a constant that is invalid in the
current encoding. To fix this, we wrap the intern function in an
rb_protect to ensure we always put a valid symbol into the AST.
https://github.com/ruby/prism/commit/e78398554d
Diffstat (limited to 'string.c')
0 files changed, 0 insertions, 0 deletions