go/src/compress
Joe Tsai b0a1f6462f compress/gzip: detect truncated streams
Reader fails to detect truncated streams since calls to io.ReadFull
do not check if the error is io.EOF.

Change-Id: I052cd03161e43fec17e3d328106c40e17923e52b
Reviewed-on: https://go-review.googlesource.com/14832
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2015-09-23 08:29:13 +00:00
..
bzip2 compress/bzip2: make decoding faster 2015-08-28 04:20:56 +00:00
flate compress/flate: detect truncated streams 2015-09-23 08:28:17 +00:00
gzip compress/gzip: detect truncated streams 2015-09-23 08:29:13 +00:00
lzw compress/lzw: tidy up some flush calls. 2015-09-09 01:45:00 +00:00
testdata
zlib compress/flate: add Reset() to allow reusing large buffers to compress multiple buffers 2014-10-20 12:58:02 +11:00