Use of uninitialized memory in mrb_ptr_to_str #4307
The following input demonstrates use of uninitialized memory:
.methods.sort do |x| x.to_proc[Symbol,Kernel].Z rescue end.inspect
Valgrind shows the following error:
This issue was reported by Denis Kasak & Dinko Galetić (https://hackerone.com/dgaletic).
The text was updated successfully, but these errors were encountered: