• Adam Langley's avatar
    compress/bzip2: support superfluous Huffman levels. · 9f0008bb
    Adam Langley authored
    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
    9f0008bb
Name
Last commit
Last update
..
cmd Loading commit data...
lib9 Loading commit data...
libbio Loading commit data...
liblink Loading commit data...
libmach Loading commit data...
pkg Loading commit data...
Make.dist Loading commit data...
all.bash Loading commit data...
all.bat Loading commit data...
all.rc Loading commit data...
clean.bash Loading commit data...
clean.bat Loading commit data...
clean.rc Loading commit data...
make.bash Loading commit data...
make.bat Loading commit data...
make.rc Loading commit data...
race.bash Loading commit data...
race.bat Loading commit data...
run.bash Loading commit data...
run.bat Loading commit data...
run.rc Loading commit data...
sudo.bash Loading commit data...