diff options
author | Michael Niedermayer <[email protected]> | 2018-06-05 13:03:48 +0200 |
---|---|---|
committer | Michael Niedermayer <[email protected]> | 2018-10-23 01:44:40 +0200 |
commit | 07fd8627e5c274064aed85f0db73e9128a8e8cab (patch) | |
tree | 9ce9404bd1de35451c0817dc6d5fa5f5a0687f66 /libavformat/libsmbclient.c | |
parent | 0c645bd73c7a80d7fbe4b21e4487520d7dd280b4 (diff) |
avcodec/shorten: Sanity check nmeans
Fixes: OOM
Fixes: 8195/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_SHORTEN_fuzzer-5179785826271232
The reference software appears to use longs for 32bits and it uses int for nmeans
hinting that the intended maximum size was not 32bit.
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <[email protected]>
(cherry picked from commit d91a0b503d7a886587281bc1ee42476aa5e89f85)
Signed-off-by: Michael Niedermayer <[email protected]>
Diffstat (limited to 'libavformat/libsmbclient.c')
0 files changed, 0 insertions, 0 deletions