[FFmpeg-devel] [PATCH 4/4] softfloat: return one when the argument of av_sqrt_sf is negative

Andreas Cadhalpun andreas.cadhalpun at googlemail.com
Sun Nov 8 21:10:41 CET 2015


On 08.11.2015 18:22, Michael Niedermayer wrote:
> On Sun, Nov 08, 2015 at 05:12:37PM +0100, Andreas Cadhalpun wrote:
>>  softfloat.h |    2 ++
>>  1 file changed, 2 insertions(+)
>> 743e46bfbb223cee2d34e8db896758d59dcc308a  0001-softfloat-assert-when-the-argument-of-av_sqrt_sf-is-.patch
>> From 2eb7607e3ead91c2cb35076c94746405183d0320 Mon Sep 17 00:00:00 2001
>> From: Andreas Cadhalpun <Andreas.Cadhalpun at googlemail.com>
>> Date: Sun, 8 Nov 2015 15:15:24 +0100
>> Subject: [PATCH] softfloat: assert when the argument of av_sqrt_sf is negative
>>
>> The correct result can't be expressed in SoftFloat.
>> Currently it returns a random value from an out of bounds read.
>>
>> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun at googlemail.com>
>> ---
>>  libavutil/softfloat.h | 2 ++
>>  1 file changed, 2 insertions(+)
> 
> LGTM

Pushed.

Best regards,
Andreas



More information about the ffmpeg-devel mailing list