golang-image/tiff
Jeff R. Allen b7cdfbb5c4 image/tiff: fix a panic with invalid tile sizes
Fuzzing detected that an invalid tile size could cause a
panic. Fix a typo in the range check to solve it.

Fixes golang/go#10712.

Change-Id: I88a5a7884d98f622cc89ed6e394becebb07c6e60
Reviewed-on: https://go-review.googlesource.com/11020
Reviewed-by: Nigel Tao <nigeltao@golang.org>
2015-06-18 01:57:12 +00:00
..
lzw image: add import comments. 2014-12-09 22:43:18 +00:00
buffer_test.go go.image: initial code. 2012-01-31 11:32:50 +11:00
buffer.go go.image/tiff: optimize reading uncompressed files from a tiff.buffer. 2012-02-21 11:25:19 +11:00
compress.go go.image/tiff: remove unreachable code. 2014-06-30 11:43:54 +10:00
consts.go go.image/tiff: decoder support tiled tiff format 2013-09-06 20:07:58 +10:00
reader_test.go image/tiff: fix a panic with invalid tile sizes 2015-06-18 01:57:12 +00:00
reader.go image/tiff: fix a panic with invalid tile sizes 2015-06-18 01:57:12 +00:00
writer_test.go go.image/tiff: support 16bit RGB 2013-09-18 17:16:05 +10:00
writer.go go.image/tiff: encoder fix non LZW Predictor and Paletted SamplesPerPixel and non RGB ExtraSamples. 2013-09-22 11:21:53 +10:00