1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/ext/zlib
NAKAMURA Usaku 83de713387 merge revision(s) c51b92c18d: [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(-)
2022-03-05 22:01:07 +09:00
..
.gitignore ignore external library sources [ci skip] 2018-01-26 03:13:33 +00:00
depend Include ruby/assert.h in ruby/ruby.h so that assertions can be there 2019-07-14 17:58:03 +09:00
extconf.rb zlib for mingw 2017-03-03 09:27:27 +00:00
zlib.c merge revision(s) c51b92c18d: [Backport #18358] 2022-03-05 22:01:07 +09:00
zlib.gemspec [ruby/zlib] Search zlib.c as a gem 2019-09-29 18:47:59 +09:00