summaryrefslogtreecommitdiff
path: root/transient_heap.h
diff options
context:
space:
mode:
authorSutou Kouhei <kou@clear-code.com>2021-10-05 16:43:21 +0900
committergit <svn-admin@ruby-lang.org>2021-10-15 15:31:15 +0900
commit027a3379d67922738d503511c2123989229f8d9b (patch)
treed9a04d8bd1ec1fb4c759905d2c064e21a4ee53a5 /transient_heap.h
parent679054208e320d4e639aa3dc1f16ad1a4945ac72 (diff)
downloadruby-027a3379d67922738d503511c2123989229f8d9b.tar.gz
[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
Diffstat (limited to 'transient_heap.h')
0 files changed, 0 insertions, 0 deletions