[FFmpeg-devel] [PATCH] swscale-test: allocate more data to prevent out-of-bounds write in big-endian
Sun Aug 1 01:02:40 CEST 2010
On Sat, Jul 31, 2010 at 07:26:13PM -0300, Ramiro Polla wrote:
> $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...
i think the bugs should be fixed not workarounds be piled up on workarounds
reading out of bounds is one thing but writing is uhm ...
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
The bravest are surely those who have the clearest vision
of what is before them, glory and danger alike, and yet
notwithstanding go out to meet it. -- Thucydides
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 190 bytes
Desc: Digital signature
More information about the ffmpeg-devel