diff options
| author | nagachika <nagachika@ruby-lang.org> | 2022-02-19 15:15:04 +0900 |
|---|---|---|
| committer | nagachika <nagachika@ruby-lang.org> | 2022-02-19 15:15:04 +0900 |
| commit | 951e1377c18f84b52fbd3aab048da8536a3bbdb0 (patch) | |
| tree | 308197e522074989cd21cb0f905b29c3de571d7d /include | |
| parent | 49ed412060f48d3b9343b8b90d73e6fcb02b3354 (diff) | |
merge revision(s) c51b92c18deb850d2cea3a7c9020db23b364ab72: [Backport #18358]
[ruby/zlib] [Bug #18358] Fix crash in zlib when in progress
When Zlib::Inflate#inflate or Zlib::Deflate#deflate is called
recursively inside the block, a crash can occur because of an
use-after-free bug.
https://github.com/ruby/zlib/commit/50fb8a0338
---
ext/zlib/zlib.c | 117 ++++++++++++++++++++++++++++++++-----------------
test/zlib/test_zlib.rb | 10 ++++-
2 files changed, 85 insertions(+), 42 deletions(-)
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
