summaryrefslogtreecommitdiffhomepage
path: root/mrbgems/mruby-bin-mruby/bintest/mruby.rb
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2018-05-01 13:29:08 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2018-05-01 13:29:08 +0900
commit2a38eb9325e32b0b4aadf3fcf88843a515b00ca9 (patch)
treed3296d918335873291ef2d1104a24a4a400d0e86 /mrbgems/mruby-bin-mruby/bintest/mruby.rb
parenta8122a9d563d2916bf4a39c207407ea22da36677 (diff)
downloadmruby-2a38eb9325e32b0b4aadf3fcf88843a515b00ca9.tar.gz
mruby-2a38eb9325e32b0b4aadf3fcf88843a515b00ca9.zip
Check the return value from `mrb_get_datatype()`; fix #4009
The return value (void*) may be NULL. Avoid using `mrb_get_datatype()` directly and use `io_get_open_fptr()` instead.
Diffstat (limited to 'mrbgems/mruby-bin-mruby/bintest/mruby.rb')
0 files changed, 0 insertions, 0 deletions