[FFmpeg-devel] [PATCH] dcstr: fix division by zero

Andreas Cadhalpun andreas.cadhalpun at googlemail.com
Fri Oct 21 20:47:03 EEST 2016


On 21.10.2016 01:37, Michael Niedermayer wrote:
> On Thu, Oct 20, 2016 at 08:19:00PM +0200, Andreas Cadhalpun wrote:

>>  dcstr.c |    8 +++++++-
>>  1 file changed, 7 insertions(+), 1 deletion(-)
>> 365ebc3a050fcccc6754a981340e0a8df5dbf781  0001-dcstr-fix-division-by-zero.patch
>> From 656f4ea3f664417197a622dcf80284e890caa849 Mon Sep 17 00:00:00 2001
>> From: Andreas Cadhalpun <Andreas.Cadhalpun at googlemail.com>
>> Date: Thu, 20 Oct 2016 20:13:54 +0200
>> Subject: [PATCH] dcstr: fix division by zero
>>
>> Also check for possible overflows.
>>
>> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun at googlemail.com>
>> ---
>>  libavformat/dcstr.c | 8 +++++++-
>>  1 file changed, 7 insertions(+), 1 deletion(-)
> 
> LGTM

Pushed.

Best regards,
Andreas



More information about the ffmpeg-devel mailing list