aboutsummaryrefslogtreecommitdiffstats
path: root/string.c
diff options
context:
space:
mode:
authorKevin Newton <kddnewton@gmail.com>2023-11-01 14:28:01 -0400
committergit <svn-admin@ruby-lang.org>2023-11-02 22:14:08 +0000
commitee7bf4643d2716d44e13a732caf588b1a6275f7a (patch)
treea943be03a2f1719a8588b3e6a4d9806a4f09489d /string.c
parentc6f5c64639152b950d4d1ccbaa199b621099e2a5 (diff)
downloadruby-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