mirror of
https://github.com/golang/go
synced 2024-10-05 12:21:22 -06:00
9f0008bb93
These should never be found in a bzip2 file but it does appear that there's a buggy encoder that is producing them. Since the official bzip2 handles this case, this change makes the Go code do likewise. With this change, the code produces the same output as the official bzip2 code on the invalid example given in the bug. Fixes #7279. LGTM=r R=golang-codereviews, r CC=golang-codereviews https://golang.org/cl/64010043 |
||
---|---|---|
.. | ||
bzip2 | ||
flate | ||
gzip | ||
lzw | ||
testdata | ||
zlib |