[FFmpeg-devel] [PATCH] libavcodec/ppc/mpegvideoencdsp.c: fix stack smashing in pix_norm1_altivec() and pix_sum_altivec()

Andreas Cadhalpun andreas.cadhalpun at googlemail.com
Tue Jan 20 19:12:09 CET 2015


after enabling the altivec optimizations on ppc64el, many fate tests 
failed, some of them with 'stack smashing detected'. For the full build 
log see [1].

The attached patch fixes all the stack smashing crashes.

But I don't know, what causes the other test failures.

Rong Yan, maybe you can have a look?

Best regards,

-------------- next part --------------
A non-text attachment was scrubbed...
Name: libavcodec-ppc-mpegvideoencdsp.c-fix-stack-smashing.patch
Type: text/x-diff
Size: 1445 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150120/d77adaed/attachment.bin>

More information about the ffmpeg-devel mailing list