[ruby-cvs:69353] nagachika:r62172 (ruby_2_4): merge revision(s) 60042, 60130, 60131: [Backport #13982]

nagachika at ruby-lang.org nagachika at ruby-lang.org
Sat Feb 3 11:25:38 JST 2018


nagachika	2018-02-03 11:25:37 +0900 (Sat, 03 Feb 2018)

  New Revision: 62172

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=62172

  Log:
    merge revision(s) 60042,60130,60131: [Backport #13982]
    
    ext: adjust indent [ci skip]
    
    zlib.c: memory leak in gunzip
    
    * ext/zlib/zlib.c (zlib_gunzip): clear zstream to fix memory leak.
      [ruby-core:83162] [Bug #13982]
    
    zlib.c: ensure to free
    
    * ext/zlib/zlib.c (zlib_gunzip): gz0 is a structure variable on
      the stack, no longer valid after exit by an exception.  ensure
      to free instead.  [Bug #13982]

  Modified directories:
    branches/ruby_2_4/
  Modified files:
    branches/ruby_2_4/ext/dbm/dbm.c
    branches/ruby_2_4/ext/etc/etc.c
    branches/ruby_2_4/ext/sdbm/_sdbm.c
    branches/ruby_2_4/ext/stringio/stringio.c
    branches/ruby_2_4/ext/syslog/syslog.c
    branches/ruby_2_4/ext/zlib/zlib.c
    branches/ruby_2_4/test/zlib/test_zlib.rb
    branches/ruby_2_4/version.h


More information about the ruby-cvs mailing list