Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Heap buffer overflow introduced in #3553 #3572
https://github.com/mruby/mruby/pull/3553/files#diff-d13030dbdc98ec484fa8f0e9cbc31443R218 is accessing one element too much of the array, tests still pass when <= is changed to < in
These kind of bugs can be found quite good with
conf.cc.flags << '-fsanitize=address' conf.linker.flags << '-fsanitize=address'
added to build_config.rb