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> |
||
---|---|---|
.. | ||
lzw | ||
buffer_test.go | ||
buffer.go | ||
compress.go | ||
consts.go | ||
reader_test.go | ||
reader.go | ||
writer_test.go | ||
writer.go |