ruby/prism
Aaron Patterson 3c9be02af1 [ruby/prism] Only read from buffer if `size` is greater than 0
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
2024-10-28 20:38:20 +00:00
..
templates [ruby/prism] Relocation 2024-10-16 15:56:01 +00:00
util [ruby/prism] Only read from buffer if `size` is greater than 0 2024-10-28 20:38:20 +00:00
api_pack.c
config.yml [ruby/prism] Update rescue node doc 2024-10-10 13:43:58 +00:00
defines.h
encoding.c
encoding.h
extension.c [ruby/prism] Supress string_query function warning 2024-10-13 12:22:58 +00:00
extension.h
node.h
options.c
options.h
pack.c
pack.h
parser.h [ruby/prism] Fix up multi target parsing 2024-10-04 16:22:21 +00:00
prettyprint.h
prism.c [ruby/prism] Prism::StringQuery 2024-10-11 19:34:57 +00:00
prism.h [ruby/prism] Prism::StringQuery 2024-10-11 19:34:57 +00:00
regexp.c
regexp.h
static_literals.c
static_literals.h
version.h