diff options
| author | Nigel Tao <nigeltao@golang.org> | 2015-04-13 13:25:28 +1000 |
|---|---|---|
| committer | Nigel Tao <nigeltao@golang.org> | 2015-04-14 07:22:44 +0000 |
| commit | 2f98bac3107d3dee4f546055e790cf0076454c80 (patch) | |
| tree | 87aa5f1202857dabb121945f741c76349bb4dda8 /src/runtime/sys_linux_arm.s | |
| parent | 8b27d28ed4e74498f04df56bfc25e9feb0422744 (diff) | |
| download | go-2f98bac3107d3dee4f546055e790cf0076454c80.tar.xz | |
image/jpeg: don't assume that an ensureNBits failure implies that we can
call unreadByteStuffedByte.
If ensureNBits was due to an io.EOF that was translated to
jpeg.errShortHuffmanData, then we may have read no bytes, so there is no
byte-stuffed-byte to unread.
Fixes #10387
Change-Id: I39a3842590c6cef2aa48943288d52f603338b44d
Reviewed-on: https://go-review.googlesource.com/8841
Reviewed-by: Rob Pike <r@golang.org>
Diffstat (limited to 'src/runtime/sys_linux_arm.s')
0 files changed, 0 insertions, 0 deletions
