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

Michael Niedermayer michaelni at gmx.at
Wed Jan 21 03:30:52 CET 2015


On Tue, Jan 20, 2015 at 07:12:09PM +0100, Andreas Cadhalpun wrote:
> Hi,
> 
> 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,
> Andreas
> 
> 
> 1: https://buildd.debian.org/status/fetch.php?pkg=ffmpeg&arch=ppc64el&ver=7%3A2.5.3-1&stamp=1421583916

>  mpegvideoencdsp.c |    4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 18a044d7378032058db3cf5d6d07d9d54d4b27f7  libavcodec-ppc-mpegvideoencdsp.c-fix-stack-smashing.patch
> From 93d465397d95594870b2ff9bbd662ccfa306bfb7 Mon Sep 17 00:00:00 2001
> From: Andreas Cadhalpun <Andreas.Cadhalpun at googlemail.com>
> Date: Tue, 20 Jan 2015 18:46:01 +0100
> Subject: [PATCH] libavcodec/ppc/mpegvideoencdsp.c: fix stack smashing in
>  pix_norm1_altivec() and pix_sum_altivec()

patch applied

thanks

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

If you think the mosad wants you dead since a long time then you are either
wrong or dead since a long time.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150121/a8c29023/attachment.asc>


More information about the ffmpeg-devel mailing list