Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
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).