Message ID | 20230920003034.7241-4-michael@niedermayer.cc |
---|---|
State | Accepted |
Commit | 768704b6406391b0d11fbccbcc54a36c938030ab |
Headers | show |
Series | [FFmpeg-devel,1/5] avcodec/flacdec: Fix overflow in "33bit" decorrelate | expand |
Context | Check | Description |
---|---|---|
andriy/make_x86 | success | Make finished |
andriy/make_fate_x86 | success | Make fate finished |
LGTM
diff --git a/libavcodec/vlc.c b/libavcodec/vlc.c index 3b66c943546..acc081e8b74 100644 --- a/libavcodec/vlc.c +++ b/libavcodec/vlc.c @@ -478,6 +478,7 @@ int ff_vlc_init_multi_from_lengths(VLC *vlc, VLC_MULTI *multi, int nb_bits, int fail: if (buf != localbuf) av_free(buf); + ff_vlc_free_multi(multi); return AVERROR_INVALIDDATA; }
Fixes: leak Fixes: 62164/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_UTVIDEO_fuzzer-6449246523752448 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> --- libavcodec/vlc.c | 1 + 1 file changed, 1 insertion(+)