Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2016-01-15 01:32:13 +0300
committerMichael Niedermayer <michael@niedermayer.cc>2016-01-15 01:49:52 +0300
commitc3a24006d552d02a23f8adbbc475c0f09318a378 (patch)
tree45199c3c92a53144de737c44b9e746dd0d47a9b2 /libavformat
parent80fd348bb7d9ee55c3100da87795f3a5bcbdfb32 (diff)
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@niedermayer.cc>
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/rmdec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/rmdec.c b/libavformat/rmdec.c
index ad919e87d1..0867485cd8 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",
};