summaryrefslogtreecommitdiffhomepage
path: root/src/ext
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2017-11-04 03:01:37 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2017-11-04 03:01:37 +0900
commitab27abe0834bc9da38d4a4d895514a66ea53fe84 (patch)
tree434603051ac33b1cf9e3c76dcf9f5db1ee8ce86a /src/ext
parente7fe6ee2638dee438c1d79ab16a0403aebec0a60 (diff)
downloadmruby-ab27abe0834bc9da38d4a4d895514a66ea53fe84.tar.gz
mruby-ab27abe0834bc9da38d4a4d895514a66ea53fe84.zip
The `bidx` saved in `env` may be useless; fix #3841
When `block_given?` is called from a block given to `define_method` as a method body, the `bidx` may not be within `env` saved closure. In this case, it causes heap buffer overflow.
Diffstat (limited to 'src/ext')
0 files changed, 0 insertions, 0 deletions