commit | 72a65830507601be6ab1a57bc4948080592fcb12 | [log] [tgz] |
---|---|---|
author | HÃ¥vard Haugen <havard.haugen@gmail.com> | Tue Apr 21 00:05:38 2015 +0200 |
committer | Nigel Tao <nigeltao@golang.org> | Tue Apr 28 00:39:31 2015 +0000 |
tree | f394b1e5606cf3d2ee02ea965270587ceef0128e | |
parent | 95ece4346fc70673455500c0236686922b23c4d2 [diff] |
x/image/tiff: fix division by zero when decoding empty image Return a zero width or zero height image of the appropriate type. Fixes golang/go#10393. Change-Id: I3aa7b6125447726600fb072ce1e8682373ce2a57 Reviewed-on: https://go-review.googlesource.com/9182 Reviewed-by: Nigel Tao <nigeltao@golang.org>