ruby/ext
Sutou Kouhei 027a3379d6 [ruby/zlib] Fix a bug that GZipReader#gets may return incomplete line
See also: https://github.com/ruby/csv/issues/117#issuecomment-933289373

How to reproduce with x.csv.gz in the issue comment:

    Zlib::GzipReader.open("x.csv.gz") do |rio|
      rio.gets(nil, 1024)
      while line = rio.gets(nil, 8192)
        raise line unless line.valid_encoding?
      end
    end

Reported by Dimitrij Denissenko. Thanks!!!

https://github.com/ruby/zlib/commit/b1f182e98f
2021-10-15 15:31:15 +09:00
..
-test- ruby tool/update-deps --fix 2021-10-05 14:18:23 +09:00
bigdecimal Fixed 'maybe_unused' attribute 2021-07-06 01:13:54 +09:00
cgi/escape ruby tool/update-deps --fix 2021-10-05 14:18:23 +09:00
continuation dependency updates 2021-04-13 14:30:21 +09:00
coverage dependency updates 2021-04-13 14:30:21 +09:00
date [ruby/date] Bump up date version to 3.2.0 2021-10-14 21:15:57 +09:00
digest Removed redundant digest namespace 2021-10-14 14:07:50 +09:00
etc [ruby/etc] Get rid of alloca in the loop 2021-10-14 18:44:27 +09:00
fcntl [ruby/fcntl] Bump up fcntl version to 1.0.1 2021-10-14 17:18:21 +09:00
fiddle ruby tool/update-deps --fix 2021-10-05 14:18:23 +09:00
io ruby tool/update-deps --fix 2021-10-05 14:18:23 +09:00
json [flori/json] Bump up json version to 2.6.0 2021-10-14 17:04:37 +09:00
monitor Distinguish signal and timeout [Bug #16608] 2021-07-25 13:09:03 -07:00
nkf [ruby/nkf] Bump up nkf version to 0.1.1 2021-10-14 20:29:27 +09:00
objspace ruby tool/update-deps --fix 2021-10-05 14:18:23 +09:00
openssl ruby tool/update-deps --fix 2021-10-05 14:18:23 +09:00
pathname [ruby/pathname] Bump up pathname version to 0.2.0 2021-10-14 21:08:03 +09:00
psych ruby tool/update-deps --fix 2021-10-05 14:18:23 +09:00
pty ruby tool/update-deps --fix 2021-10-05 14:18:23 +09:00
racc/cparse [ruby/racc] Add missing check for rb_block_call() 2021-07-18 20:38:34 +09:00
rbconfig/sizeof dependency updates 2021-04-13 14:30:21 +09:00
readline ruby tool/update-deps --fix 2021-10-05 14:18:23 +09:00
ripper ruby tool/update-deps --fix 2021-10-05 14:18:23 +09:00
rubyvm Added depend files 2019-07-14 01:31:29 +09:00
socket Prefer the reentrant versions of gmtime and localtime 2021-10-14 23:44:15 +09:00
stringio ruby tool/update-deps --fix 2021-10-05 14:18:23 +09:00
strscan ruby tool/update-deps --fix 2021-10-05 14:18:23 +09:00
syslog dependency updates 2021-04-13 14:30:21 +09:00
win32 Fix some typos by spell checker 2021-04-26 10:07:41 +09:00
win32ole Fix `_MSC_VER` warnings 2021-06-03 00:07:25 +09:00
zlib [ruby/zlib] Fix a bug that GZipReader#gets may return incomplete line 2021-10-15 15:31:15 +09:00
.document Remove unnecessary files from .document 2020-12-20 16:00:13 +09:00
Setup Removed sdbm entries from toolchanins 2020-06-19 08:26:47 +09:00
Setup.atheos Removed sdbm entries from toolchanins 2020-06-19 08:26:47 +09:00
Setup.nt Removed sdbm entries from toolchanins 2020-06-19 08:26:47 +09:00
extmk.rb transcode-tblgen.rb: make silent a little when just -v 2020-12-29 17:45:19 +09:00