summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
f6d1b18)
Fixes: out of array access
Fixes: 15522/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_DNXHD_fuzzer-
5747756078989312
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
if (remaining <= 0)
continue;
}
if (remaining <= 0)
continue;
}
dctx->remaining = remaining;
dctx->remaining = remaining;
- if (buf_size - i + 47 >= dctx->remaining) {
+ if (buf_size >= dctx->remaining) {
pc->frame_start_found = 0;
pc->state64 = -1;
dctx->cur_byte = 0;
pc->frame_start_found = 0;
pc->state64 = -1;
dctx->cur_byte = 0;