[FFmpeg-devel] [PATCH]Fix overread in pcx decoder, second try

Michael Niedermayer michaelni at gmx.at
Sat Oct 6 20:55:30 CEST 2012


On Sat, Oct 06, 2012 at 06:30:22PM +0000, Carl Eugen Hoyos wrote:
> Michael Niedermayer <michaelni <at> gmx.at> writes:
> 
> > On Sat, Oct 06, 2012 at 06:01:53PM +0200, Carl Eugen Hoyos wrote:
> > > Hi!
> > > 
> > > Attached patch fixes a crash when reading invalid pcx files, not all
> > > codepaths tested.
> 
> > did you test this with rle compressed pcx ?
> 
> I tested it only with 
> ffmpeg -i tests/lena.pnm out.pcx
> which only supports rle compression afaict.

try it with some input that does contain compressible stuff
(like dpx_samples/checkerboard_1080p_nuke_bigendian_8bit_noalpha.dpx)

it will fail ...

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The misfortune of the wise is better than the prosperity of the fool.
-- Epicurus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20121006/d6968ee3/attachment.asc>


More information about the ffmpeg-devel mailing list