diff options
author | Jeremy Evans <code@jeremyevans.net> | 2022-01-04 09:13:19 -0800 |
---|---|---|
committer | Jeremy Evans <code@jeremyevans.net> | 2022-01-04 10:03:18 -0800 |
commit | 9e0a91d0640600f2dfd7fc1d5fae6667019c9ca5 (patch) | |
tree | fb855c6b00e7bcf60f2f4d28342ad776c2fcbc01 /io.c | |
parent | e7806049c06f8e5a122d48b5454796c6ae6acac1 (diff) | |
download | ruby-9e0a91d0640600f2dfd7fc1d5fae6667019c9ca5.tar.gz |
Don't segfault if Warning.warn is undefined
Check that there is a method entry for the method before passing
it to rb_method_entry_arity.
Fixes [Bug #18458]
Diffstat (limited to 'io.c')
0 files changed, 0 insertions, 0 deletions