aboutsummaryrefslogtreecommitdiff
path: root/src/encoding
diff options
context:
space:
mode:
authorJeff R. Allen <jra@nella.org>2015-12-05 21:06:05 +0600
committerBrad Fitzpatrick <bradfitz@golang.org>2016-10-05 04:28:45 +0000
commitd1d798dd15e7abbeab335804bd6dfaec6c016018 (patch)
tree7538a8dc2dfc310738e8ebc754941832a3df12a4 /src/encoding
parenta39920fdbbeca653a8b2ac52678378d260e2d396 (diff)
downloadgo-d1d798dd15e7abbeab335804bd6dfaec6c016018.tar.xz
image/gif: check handling of truncated GIF files
All the prefixes of the testGIF produce errors today, but they differ wildly in which errors: some are io.EOF, others are io.ErrUnexpectedEOF, and others are gif-specific. Make them all gif-specific to explain context, and make any complaining about EOF be sure to mention the EOF is unexpected. Fixes #11390. Change-Id: I742c39c88591649276268327ea314e68d1de1845 Reviewed-on: https://go-review.googlesource.com/17493 Run-TryBot: Russ Cox <rsc@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/encoding')
0 files changed, 0 insertions, 0 deletions