diff options
author | Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> | 2015-11-08 15:15:24 +0100 |
---|---|---|
committer | Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> | 2015-11-26 01:35:45 +0100 |
commit | 510d88ae939f80a0e69188135d9ca7824a2c1075 (patch) | |
tree | 50af5d0048ddf7161160f7c5d95bc891476635c5 /libavcodec/gsmdec_template.c | |
parent | c4133b25f8cd4592335ff95bb389d2f02ed6f6c7 (diff) | |
download | ffmpeg-510d88ae939f80a0e69188135d9ca7824a2c1075.tar.gz |
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.
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
(cherry picked from commit f3866a14c3c2949fad16267e9f2977ba9d7b5504)
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Diffstat (limited to 'libavcodec/gsmdec_template.c')
0 files changed, 0 insertions, 0 deletions