[FFmpeg-devel] [PATCH] mingw memalign hack fix

Michael Niedermayer michaelni
Thu Nov 27 00:49:36 CET 2008


On Wed, Nov 26, 2008 at 03:36:38PM -0800, David DeHaven wrote:
>
>> SSE2 code was segfaulting on my MinGW builds, turns out blocks being
>> av_realloc'd were losing their alignment. This patch fixes that.

av_realloc() makes no gurantee about alignment

also several people have already tried to implement a av_realloc() that
maintains alignment so far with no luck.
yours looks exploitable ...


[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

It is not what we do, but why we do it that matters.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20081127/3a65cd3d/attachment.pgp>



More information about the ffmpeg-devel mailing list