]> git.sesse.net Git - ffmpeg/commit
swscale/output: Fix integer overflow in yuv2rgb_write_full() with out of range input
authorMichael Niedermayer <michael@niedermayer.cc>
Sun, 16 Feb 2020 19:11:52 +0000 (20:11 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 4 Apr 2020 20:09:46 +0000 (22:09 +0200)
commite057e83a4ff4c0eeeb78dffe58e21af951c056b6
treee1723816ddfc3e4c1bb73032f46e156ea3aa6ad5
parent49ba1879add99d3f64d70d34fb0255c8a49d4b28
swscale/output: Fix integer overflow in yuv2rgb_write_full() with out of range input

Fixes: signed integer overflow: 1169365504 + 981452800 cannot be represented in type 'int'
Fixes: ticket8293
Found-by: Suhwan
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libswscale/output.c