From: <wt...@ke...> - 2008-02-13 14:40:42
|
CVS Root: /cvs/gstreamer Module: gst-plugins-bad Changes by: wtay Date: Wed Feb 13 2008 14:40:47 UTC Log message: Patch by: Josep Torra Valles <jo...@fl...> * gst/h264parse/gsth264parse.c: (gst_h264_parse_chain_reverse): Fix potential buffer leak in reverse mode. Re-Fixes #516061. Modified files: . : ChangeLog gst/h264parse : gsth264parse.c Links: http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins-bad/ChangeLog.diff?r1=1.3155&r2=1.3156 http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins-bad/gst/h264parse/gsth264parse.c.diff?r1=1.9&r2=1.10 ====Begin Diffs==== Index: ChangeLog =================================================================== RCS file: /cvs/gstreamer/gst-plugins-bad/ChangeLog,v retrieving revision 1.3155 retrieving revision 1.3156 diff -u -d -r1.3155 -r1.3156 --- ChangeLog 13 Feb 2008 11:22:05 -0000 1.3155 +++ ChangeLog 13 Feb 2008 14:40:32 -0000 1.3156 @@ -1,3 +1,10 @@ +2008-02-13 Wim Taymans <wim...@co...> + + Patch by: Josep Torra Valles <jo...@fl...> + * gst/h264parse/gsth264parse.c: (gst_h264_parse_chain_reverse): + Fix potential buffer leak in reverse mode. Re-Fixes #516061. 2008-02-13 Sebastian Dröge <sl...@ci...> * configure.ac: Index: gsth264parse.c RCS file: /cvs/gstreamer/gst-plugins-bad/gst/h264parse/gsth264parse.c,v retrieving revision 1.9 retrieving revision 1.10 diff -u -d -r1.9 -r1.10 --- gsth264parse.c 12 Feb 2008 18:29:29 -0000 1.9 +++ gsth264parse.c 13 Feb 2008 14:40:33 -0000 1.10 @@ -704,6 +704,8 @@ guint8 *data; /* get new buffer and init the start code search to the end position */ + if (gbuf != NULL) + gst_buffer_unref (gbuf); gbuf = GST_BUFFER_CAST (h264parse->gather->data); /* remove from the gather list, they are in reverse order */ |