[FFmpeg-cvslog] avfilter/vf_pullup: zero freed memory for saftey

Michael Niedermayer git at videolan.org
Thu Mar 27 13:03:07 CET 2014


ffmpeg | branch: release/2.2 | Michael Niedermayer <michaelni at gmx.at> | Wed Mar 26 18:37:15 2014 +0100| [194485cfbaac25957721cc9cd1588678e0217f58] | committer: Michael Niedermayer

avfilter/vf_pullup: zero freed memory for saftey

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
(cherry picked from commit a44409e692e8f369368215fb16b34749cff0d35c)

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

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

 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