[FFmpeg-devel] [PATCH] mp3dec: fix msan warning when verifying mpa header

Michael Niedermayer michael at niedermayer.cc
Thu Dec 15 05:35:15 EET 2016


On Wed, Dec 14, 2016 at 03:39:59PM -0800, Matthew Wolenetz wrote:
> MPEG Audio frame header must be 4 bytes. If we fail to read
> 4 bytes bail early to avoid Use-of-uninitialized-value msan error.
> Reference https://crbug.com/666874.

>  mp3dec.c |    3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> a5668a4c9770ce6875733ad96c982266f110e322  666874-mp3dec-fix-msan-warning-when-verifying-mpa-header.patch
> From 5ed6e20c09840320784c43b86b75b3ede69742f6 Mon Sep 17 00:00:00 2001
> From: Chris Cunningham <chcunningham at chromium.org>
> Date: Tue, 22 Nov 2016 13:54:50 -0800
> Subject: [PATCH] mp3dec: fix msan warning when verifying mpa header
> 
> MPEG Audio frame header must be 4 bytes. If we fail to read
> 4 bytes bail early to avoid Use-of-uninitialized-value msan error.
> Reference https://crbug.com/666874.
> ---
>  libavformat/mp3dec.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)

applied

thx

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The misfortune of the wise is better than the prosperity of the fool.
-- Epicurus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20161215/7c091d7b/attachment.sig>


More information about the ffmpeg-devel mailing list