[FFmpeg-devel] [PATCH] move check for invalid count up in tif decoder (roundup issue 2500)

Daniel Kang daniel.d.kang
Thu Jan 6 20:55:54 CET 2011

In the tif decoder, count is checked after it is used to read in data in
the case of TIFF_LONG. This causes ffmpeg to crash for invalid count.
The attached patch moves the check up.

The roundup issue is 2500
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tif_move_check_up.diff
Type: application/octet-stream
Size: 1357 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20110106/8cff079d/attachment.obj>

More information about the ffmpeg-devel mailing list