3157439762
Fuzzing detected a divide by zero in images with 0 bits per sample. Instead of panicing, return an error. Do more validation of bits per sample so that the package only supports what we've actually tested. Fixes golang/go#10711. Change-Id: Ib41b5cd798c32b06429164c9bc471f5f321d88c5 Reviewed-on: https://go-review.googlesource.com/10943 Reviewed-by: Benny Siegert <bsiegert@gmail.com> Reviewed-by: Nigel Tao <nigeltao@golang.org> |
||
---|---|---|
bmp | ||
cmd/webp-manual-test | ||
draw | ||
math | ||
riff | ||
testdata | ||
tiff | ||
vp8 | ||
vp8l | ||
webp | ||
.gitattributes | ||
.gitignore | ||
AUTHORS | ||
codereview.cfg | ||
CONTRIBUTING.md | ||
CONTRIBUTORS | ||
LICENSE | ||
PATENTS | ||
README |
This repository holds supplementary Go image libraries. To submit changes to this repository, see http://golang.org/doc/contribute.html.