[FFmpeg-cvslog] avfilter/vf_pullup: zero freed memory for saftey
Michael Niedermayer
git at videolan.org
Wed Mar 26 18:54:18 CET 2014
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Wed Mar 26 18:37:15 2014 +0100| [a44409e692e8f369368215fb16b34749cff0d35c] | committer: Michael Niedermayer
avfilter/vf_pullup: zero freed memory for saftey
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=a44409e692e8f369368215fb16b34749cff0d35c
---
libavfilter/vf_pullup.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavfilter/vf_pullup.c b/libavfilter/vf_pullup.c
index bf84568..73ffa68 100644
--- a/libavfilter/vf_pullup.c
+++ b/libavfilter/vf_pullup.c
@@ -137,6 +137,7 @@ static void free_field_queue(PullupField *head)
av_free(f->combs);
av_free(f->vars);
next = f->next;
+ memset(f, 0, sizeof(*f));
av_free(f);
f = next;
} while (f != head);
More information about the ffmpeg-cvslog
mailing list