]> Cypherpunks repositories - gostls13.git/commit
image/png: fix crash when an alleged PNG has too much pixel data,
authorNigel Tao <nigeltao@golang.org>
Wed, 16 Apr 2014 02:18:57 +0000 (12:18 +1000)
committerNigel Tao <nigeltao@golang.org>
Wed, 16 Apr 2014 02:18:57 +0000 (12:18 +1000)
commitc47f08657a09aaabda3974b50b8a29e460f9927a
treefd8e2d2435a2ff62e98e4ebab0372d6dd79c3a0a
parentdacc020c00e8ad85cc3b006091632f76a79015be
image/png: fix crash when an alleged PNG has too much pixel data,
so that the zlib.Reader returns nil error.

Fixes #7762.

LGTM=r
R=r
CC=golang-codereviews
https://golang.org/cl/86750044
src/pkg/image/png/reader.go