[ruby-cvs:58614] normal:r51466 (trunk): openssl/buffering: fix gets on EOF with limit

normal at ruby-lang.org normal at ruby-lang.org
Sun Aug 2 07:08:19 JST 2015


normal	2015-08-02 07:08:17 +0900 (Sun, 02 Aug 2015)

  New Revision: 51466

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

  Log:
    openssl/buffering: fix gets on EOF with limit
    
    * ext/openssl/lib/openssl/buffering.rb (gets):
      avoid comparing fixnum with nil
    * test/openssl/test_pair.rb: test gets with limit when EOF is hit
      Thanks to Bar Hofesh <bar.hofesh at safe-t.com> for the bug report
      and testing.
      [ruby-core:70149] [Bug #11400]

  Modified files:
    trunk/ChangeLog
    trunk/ext/openssl/lib/openssl/buffering.rb
    trunk/test/openssl/test_pair.rb


More information about the ruby-cvs mailing list