diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2020-06-18 11:56:53 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2020-07-02 10:20:36 +0200 |
commit | 836f6fb5670da816140d5f1f5f573aa1f7132caa (patch) | |
tree | 37a9d936830d3683b32b98e8789f4a3099316d0a /libavutil/hwcontext_qsv.h | |
parent | 3571d9d654f78c3c16ec17c8260d28f211e9571b (diff) | |
download | ffmpeg-836f6fb5670da816140d5f1f5f573aa1f7132caa.tar.gz |
avutil/avsscanf: Add () to avoid integer overflow in scanexp()
Fixes: signed integer overflow: 2147483610 + 52 cannot be represented in type 'int'
Fixes: 23260/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_PBM_fuzzer-5187871274434560
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 42b28565aa852b98d95d8d02f7b0781999f9d533)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavutil/hwcontext_qsv.h')
0 files changed, 0 insertions, 0 deletions