-
Aaron Patterson authored
It looks like we can possibly do an out of bounds read if size is equal to 0. This commit adds a conditional to ensure size is actually greater than 0 before looking backwards in the buffer https://github.com/ruby/prism/commit/2031b626e6
Aaron Patterson authoredIt looks like we can possibly do an out of bounds read if size is equal to 0. This commit adds a conditional to ensure size is actually greater than 0 before looking backwards in the buffer https://github.com/ruby/prism/commit/2031b626e6
Loading