aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/qpeg.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2022-09-18 16:42:21 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2022-10-09 21:33:10 +0200
commit3f283529f78b974962a867842df8d884b32d9c9e (patch)
treeddc9ba2ff9bad15592a947540b442eeb545435ea /libavcodec/qpeg.c
parent0a5e3c39eb14003b831d2796a816fed97de3f029 (diff)
downloadffmpeg-3f283529f78b974962a867842df8d884b32d9c9e.tar.gz
avformat/sdsdec: Use av_rescale() to avoid intermediate overflow in duration calculation
Fixes: signed integer overflow: 72128794995445727 * 240 cannot be represented in type 'long' Fixes: 50993/clusterfuzz-testcase-minimized-ffmpeg_dem_SDS_fuzzer-6628185583779840 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 aa8eb1bed075931b0ce0a8bc9a8ff5882830044c) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/qpeg.c')
0 files changed, 0 insertions, 0 deletions