[FFmpeg-devel] [PATCH 3/4] avcodec/a64multienc: initialize mc_meta_charset to zero

Michael Niedermayer michaelni at gmx.at
Mon Feb 23 02:14:32 CET 2015


On Sun, Feb 22, 2015 at 09:58:39PM +0100, Andreas Cadhalpun wrote:
> Hi,
> 
> without this patch valgrind complains loudly about 'Conditional jump
> or move depends on uninitialised value(s)' in avpriv_do_elbg.
> 
> (This patch applies to libav after cherry-picking [1].)
> 
> Best regards,
> Andreas
> 
> 
> 1: https://git.videolan.org/?p=ffmpeg.git;a=commitdiff;h=e4c180c05ac9aed33c16ee6e89581a9f2f7b890f

>  a64multienc.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 6b68722a0e9f27f7ec4267a6222744114f81c879  0003-avcodec-a64multienc-initialize-mc_meta_charset-to-ze.patch
> From 12e0e8db0a132be6bfef7268550b200955289749 Mon Sep 17 00:00:00 2001
> From: Andreas Cadhalpun <Andreas.Cadhalpun at googlemail.com>
> Date: Sun, 22 Feb 2015 20:47:50 +0100
> Subject: [PATCH 3/4] avcodec/a64multienc: initialize mc_meta_charset to zero
> 
> This fixes the use of uninitialized values in avpriv_do_elbg.

applied

thanks

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

It is what and why we do it that matters, not just one of them.
-------------- 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/20150223/7666b9ee/attachment.asc>


More information about the ffmpeg-devel mailing list