diff options
author | James Almer <jamrial@gmail.com> | 2024-10-31 23:19:29 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2024-11-02 15:01:31 -0300 |
commit | 5f5421ec66f55e186763cf3441c609d6360cfd8e (patch) | |
tree | 954353c6ddba907fb402cc27a7139737a16cb577 /tests/ref/pixfmt/gbrp16-yuv420p16be | |
parent | c029a2f7ddea8e2b3c99f629c1bb54ff5a50cac1 (diff) | |
download | ffmpeg-5f5421ec66f55e186763cf3441c609d6360cfd8e.tar.gz |
swscale/swscale: prevent integer overflow in chrRangeToJpeg16_c
Same as it's done in lumRangeToJpeg16_c(). Plenty of allowed input values can
overflow here.
Fixes: src/libswscale/swscale.c:198:47: runtime error: signed integer overflow: 475328 * 4663 cannot be represented in type 'int'
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'tests/ref/pixfmt/gbrp16-yuv420p16be')
0 files changed, 0 insertions, 0 deletions