You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This program reproduces the issue:
http://play.golang.org/p/WI-rKRU4Ld
What is the expected output?
I expect it to not panic. The function compress/bzip2.(*reader).Read() should return
zero bytes if it cannot read any further due to bad input.
What do you see instead?
"panic: runtime error: index out of range" in
compress/bzip2.(*reader).readBlock()
Which compiler are you using (5g, 6g, 8g, gccgo)?
6g
Which operating system are you using?
Linux (Debian Wheezy 64-bit), and whatever play.golang.org uses.
Which version are you using? (run 'go version')
1.1
The text was updated successfully, but these errors were encountered:
by foobaz:
The text was updated successfully, but these errors were encountered: