History

avcodec/smacker: cleanup on bet buffer failure

Fixes: memleak (of vlc) Fixes: 430343927/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_SMACKAUD_fuzzer-5265858979233792

Michael Niedermayer committed 1 year ago

Commit 749aaf21 parent 051e0d71 file · +1 −1Browse files

Unified · Split

libavcodec/smacker.c+1−1
@@ -668,7 +668,7 @@ static int smka_decode_frame(AVCodecContext *avctx, AVFrame *frame, · 667 unmodified lines
668 }668 }
669 669
670 if ((ret = ff_get_buffer(avctx, frame, 0)) < 0)670 if ((ret = ff_get_buffer(avctx, frame, 0)) < 0)
671 return ret;671 goto error;
672 samples = (int16_t *)frame->data[0];672 samples = (int16_t *)frame->data[0];
673 samples8 = frame->data[0];673 samples8 = frame->data[0];
674 674

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t