summaryrefslogtreecommitdiff
path: root/ruby_assert.h
diff options
context:
space:
mode:
authorPeter Zhu <peter@peterzhu.ca>2024-01-17 11:50:40 -0500
committerPeter Zhu <peter@peterzhu.ca>2024-01-17 15:51:44 -0500
commita6e924cf5f67368b49d5745f5cae22bc68ef21a1 (patch)
tree4685da26eb59a58caf7b264f8ac902e7e0a2a497 /ruby_assert.h
parentb0a32b724971c5113c02946b1b959c1d73a9e256 (diff)
[PRISM] Fix crash in compile_prism
If the argument is not a file or a string, it assumes it's a string which will crash because RSTRING_PTR and RSTRING_LEN assumes it's a string.
Diffstat (limited to 'ruby_assert.h')
0 files changed, 0 insertions, 0 deletions