[FFmpeg-devel] [PATCH] check for overflow in wmv decoding (roundup issue 1670) (original) (raw)

Daniel Kang daniel.d.kang
Sun Jan 2 22:53:48 CET 2011


As part of a Google Code-In task, I have written a patch to fix the bug in roundup issue 1670. The issue occurs because there is a sanity check on s->avctx->extradata_size, but not on s->avctx->extradata_size*8, which overflows in some cases. My patch updates the sanity check. Are there any comments? -------------- next part -------------- A non-text attachment was scrubbed... Name: wmv_crash_fix.diff Type: application/octet-stream Size: 744 bytes Desc: not available URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20110102/51d70d14/attachment.obj>



More information about the ffmpeg-devel mailing list