[FFmpeg-devel] [PATCH] check for mod by zero (issue 2502)

Daniel Kang daniel.d.kang
Fri Jan 7 03:36:28 CET 2011


For PCM audio, ffmpeg does not check of the sample_size is zero before
multiplying, then modding. This causes ffmpeg to crash with SIGPE for
invalid sample_size. The patch attached adds a check for this.

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



More information about the ffmpeg-devel mailing list