[FFmpeg-devel] [PATCH] check for invalid maxval in pgm decoder (issue 2518)

Michael Niedermayer michaelni
Mon Jan 10 01:34:53 CET 2011


On Sun, Jan 09, 2011 at 03:11:37PM -0500, Daniel Kang wrote:
> ffmpeg has a check for invalid maxval, but it can be overwritten in some
> cases. This patch adds a check for invalid maxval after it is
> overwritten.

>  pnm.c |    4 ++++
>  1 file changed, 4 insertions(+)
> e3c60310410485a4a8240d7077f3ac5d3b17c153  pgm_check.diff
> From 433941a7ba0427621936e353568b2636e62506fc Mon Sep 17 00:00:00 2001
> From: Daniel Kang <daniel.d.kang at gmail.com>
> Date: Sun, 9 Jan 2011 15:05:55 -0500
> Subject: [PATCH] Check for pgm invalid max val

lgtm

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The educated differ from the uneducated as much as the living from the
dead. -- Aristotle 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20110110/c953c78e/attachment.pgp>



More information about the ffmpeg-devel mailing list