Descriptioncompress/bzip2: support superfluous Huffman levels.
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 issue 7279.
Patch Set 1 #Patch Set 2 : diff -r 3ac4616250ed https://code.google.com/p/go/ #Patch Set 3 : diff -r 3ac4616250ed https://code.google.com/p/go/ #Patch Set 4 : diff -r 727eb606ecd2 https://code.google.com/p/go/ #MessagesTotal messages: 4
|