diff options
author | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-08-01 22:08:17 +0000 |
---|---|---|
committer | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-08-01 22:08:17 +0000 |
commit | 425b40600386d488a76ccea298a266136c15f5a7 (patch) | |
tree | 2002399609e93bf3c5ce1659cb365d6deedd673b /parse.y | |
parent | b141847829ea040a73650eda5e1b83f97438a8ea (diff) | |
download | ruby-425b40600386d488a76ccea298a266136c15f5a7.tar.gz |
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@safe-t.com> for the bug report
and testing.
[ruby-core:70149] [Bug #11400]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51466 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'parse.y')
0 files changed, 0 insertions, 0 deletions