[FFmpeg-cvslog] avformat/rmdec: Fix Packet memleak at close()

Michael Niedermayer git at videolan.org
Thu Jan 14 23:52:02 CET 2016


ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Thu Jan 14 23:32:13 2016 +0100| [c3a24006d552d02a23f8adbbc475c0f09318a378] | committer: Michael Niedermayer

avformat/rmdec: Fix Packet memleak at close()

Fixes: asan_heap-oob_445b39_1741_d00eb645ab48eb2203b4a04a5b997103.ivr

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=c3a24006d552d02a23f8adbbc475c0f09318a378
---

 libavformat/rmdec.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/libavformat/rmdec.c b/libavformat/rmdec.c
index ad919e8..0867485 100644
--- a/libavformat/rmdec.c
+++ b/libavformat/rmdec.c
@@ -1399,5 +1399,6 @@ AVInputFormat ff_ivr_demuxer = {
     .read_probe     = ivr_probe,
     .read_header    = ivr_read_header,
     .read_packet    = ivr_read_packet,
+    .read_close     = rm_read_close,
     .extensions     = "ivr",
 };



More information about the ffmpeg-cvslog mailing list