[FFmpeg-devel] [PATCH] swscale-test: allocate more data to prevent out-of-bounds write in big-endian

Ramiro Polla ramiro.polla
Sun Aug 1 00:26:13 CEST 2010


$subj, for the same reason an extra 16 bytes was added for LE to
prevent writing beyond the buffer, for BE it is necessary to have some
extra bytes to prevent writing before the buffer. I'm not sure about
16 bytes being needed, maybe only 8, or 4, or even 1 is needed, but
just to be safe I've chosen 16 again...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: swscale-test_outofbounds_be.diff
Type: application/octet-stream
Size: 2055 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100731/5a7f5888/attachment.obj>



More information about the ffmpeg-devel mailing list