commit | da761ea9ff43b0defcf66e8784f2aa4faa517dde | [log] [tgz] |
---|---|---|
author | Sardorbek Pulatov <sardorbek.pulatov@outlook.com> | Tue Nov 26 08:26:16 2019 |
committer | Nigel Tao <nigeltao@golang.org> | Fri Dec 06 06:52:43 2019 |
tree | 7663aacef512ab6c0c55e8d070cf9e17b346d60b | |
parent | e7c1f5e7dbb87d8921928a6d9fc52fb31ce73b24 [diff] |
tiff, bmp: return io.UnexpectedEOF on empty data Check for an EOF when decoding the tiff and bmp headers, so that decoding empty data does not return an EOF. Fixes golang/go#11391 Change-Id: I73394b9dcc0d2e4e2a7bc56addb3f690791820ba GitHub-Last-Rev: 924636fca185e34399b558c92c1d4b80f43eadfc GitHub-Pull-Request: golang/image#3 Reviewed-on: https://go-review.googlesource.com/c/image/+/205458 Run-TryBot: Akhil Indurti <aindurti@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Akhil Indurti <aindurti@gmail.com> Reviewed-by: Nigel Tao <nigeltao@golang.org>
This repository holds supplementary Go image libraries.
The easiest way to install is to run go get -u golang.org/x/image/...
. You can also manually git clone the repository to $GOPATH/src/golang.org/x/image
.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html.
The main issue tracker for the image repository is located at https://github.com/golang/go/issues. Prefix your issue with “x/image:” in the subject line, so it is easy to find.