[FFmpeg-devel] [PATCH] prevent buffer overflow with large a/mulaw frames

Peter Ross pross
Sun Jul 26 06:19:48 CEST 2009


Hi,

This patch prevents alaw/mulaw decoders from writing beyond the output buffer.

Note that this prevents the segfault reported by 1174, *but* it doesn't
fix the underlying problem (which appears to be a bug in our avi demuxer;
the MPlayer demuxer has no problems this file).

More info: http://roundup.ffmpeg.org/roundup/ffmpeg/issue1174

-- Peter
(A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC40 DD6B)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pcm-mulaw-overflow.diff
Type: text/x-diff
Size: 399 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090726/ea7cacf3/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090726/ea7cacf3/attachment.pgp>



More information about the ffmpeg-devel mailing list