[FFmpeg-devel] [libav-devel] [PATCH 2/2] matroskadec: validate audio channels and bitdepth

Andreas Cadhalpun andreas.cadhalpun at googlemail.com
Tue Jun 16 22:02:05 CEST 2015


On 16.06.2015 03:22, Michael Niedermayer wrote:
> On Tue, Jun 16, 2015 at 12:09:37AM +0200, Andreas Cadhalpun wrote:
>>  matroskadec.c |   12 ++++++++++++
>>  1 file changed, 12 insertions(+)
>> c84b48d9c49779669de96671e178dd1f6da215d9  0002-matroskadec-validate-audio-channels-and-bitdepth.patch
>> From 903de886ae73469831f3416d5fc57c2a6ab97708 Mon Sep 17 00:00:00 2001
>> From: Andreas Cadhalpun <Andreas.Cadhalpun at googlemail.com>
>> Date: Mon, 15 Jun 2015 21:06:51 +0200
>> Subject: [PATCH 2/2] matroskadec: validate audio channels and bitdepth
>>
>> In the TTA extradata re-construction the values are written with
>> avio_wl16 and if they don't fit into uint16_t, this triggers an
>> av_assert2 in avio_w8.
>>
>> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun at googlemail.com>
>> ---
>>  libavformat/matroskadec.c | 12 ++++++++++++
>>  1 file changed, 12 insertions(+)
> 
> LGTM

Pushed.

Best regards,
Andreas



More information about the ffmpeg-devel mailing list