Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:yukoff:openSUSE:Leap:42.1:Backports
ffmpeg.5703
0001-avformat-avidec-Fix-memleak-with-dv-in-avi...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-avformat-avidec-Fix-memleak-with-dv-in-avi.patch of Package ffmpeg.5703
From b98dafe04564d5fe3e5bf5073d871dd93a4a62de Mon Sep 17 00:00:00 2001 From: Michael Niedermayer <michael@niedermayer.cc> Date: Sun, 25 Sep 2016 11:56:11 +0200 Subject: [PATCH] avformat/avidec: Fix memleak with dv in avi MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Found-by: 连一汉 <lianyihan@360.cn> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> --- libavformat/avidec.c | 3 +++ 1 file changed, 3 insertions(+) Index: ffmpeg-2.8.8/libavformat/avidec.c =================================================================== --- ffmpeg-2.8.8.orig/libavformat/avidec.c +++ ffmpeg-2.8.8/libavformat/avidec.c @@ -607,6 +607,9 @@ static int avi_read_header(AVFormatConte if (s->streams[0]->info) av_freep(&s->streams[0]->info->duration_error); av_freep(&s->streams[0]->info); + if (s->streams[0]->internal) + av_freep(&s->streams[0]->internal->avctx); + av_freep(&s->streams[0]->internal); av_freep(&s->streams[0]); s->nb_streams = 0; if (CONFIG_DV_DEMUXER) {
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor