[FFmpeg-devel] [PATCH] IFF: Check for invalid width and height in decoder
Michael Niedermayer
michaelni
Mon May 10 12:59:11 CEST 2010
On Mon, May 10, 2010 at 01:22:08AM +0200, Sebastian Vater wrote:
> Stefano Sabatini a ?crit :
> > width *or* height, also it's always nice to show the actual invalid
> > values, check how avcodec_check_dimensions() does it.
> >
>
> Fixed by copying message from avcodec_check_dimensions!
>
> I have ignored the upper bound checks because they can't apply (they're
> uint16_t in IFF-ILBM).
>
> --
>
> Best regards,
> :-) Basty/CDGS (-:
>
> iff.c | 4 ++++
> 1 file changed, 4 insertions(+)
> 3db8467b2aebea4df8b7c9fa6e37ce570dbae3e4 iff-decoder-width-height-check.patch
ok with me, that is if noone minds printing signed values with %u
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Dictatorship naturally arises out of democracy, and the most aggravated
form of tyranny and slavery out of the most extreme liberty. -- Plato
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100510/177c8a52/attachment.pgp>
More information about the ffmpeg-devel
mailing list