[FFmpeg-devel] [PATCH 3/3] tiff: fix overflows when calling av_readuce

Andreas Cadhalpun andreas.cadhalpun at googlemail.com
Thu Dec 15 02:32:07 EET 2016


On 14.12.2016 13:34, Michael Niedermayer wrote:
> On Wed, Dec 14, 2016 at 12:57:12AM +0100, Andreas Cadhalpun wrote:
>>  tiff.c |   13 +++++++++++--
>>  1 file changed, 11 insertions(+), 2 deletions(-)
>> 96297593c98fcbce7395cb13627fae080f1e2cbc  0001-tiff-fix-overflows-when-calling-av_reduce.patch
>> From 3cd8cb663d762bc15694e285ea48cdb8e9abfd4b Mon Sep 17 00:00:00 2001
>> From: Andreas Cadhalpun <Andreas.Cadhalpun at googlemail.com>
>> Date: Tue, 13 Dec 2016 00:43:21 +0100
>> Subject: [PATCH] tiff: fix overflows when calling av_reduce
>>
>> The arguments of av_reduce are signed, so the cast to uint64_t is misleading.
>>
>> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun at googlemail.com>
>> ---
>>  libavcodec/tiff.c | 13 +++++++++++--
>>  1 file changed, 11 insertions(+), 2 deletions(-)
> 
> LGTM

Pushed.

Best regards,
Andreas



More information about the ffmpeg-devel mailing list