summaryrefslogtreecommitdiff
path: root/multimedia/vlc/patches
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2011-12-22 13:31:48 +0000
committerdrochner <drochner@pkgsrc.org>2011-12-22 13:31:48 +0000
commit45196e5c366afed02a0e22c73f88144e3d064007 (patch)
tree25a48c01ae0a3d61e3598634cdab08bd0f1e979c /multimedia/vlc/patches
parentc56088f8b1ba89a172b8d210f256d8ec8c31e1cb (diff)
downloadpkgsrc-45196e5c366afed02a0e22c73f88144e3d064007.tar.gz
add patch from upstream to fix possible double free() in the TiVo
demuxer (with possible security implications) bump PKGREV
Diffstat (limited to 'multimedia/vlc/patches')
-rw-r--r--multimedia/vlc/patches/patch-au14
1 files changed, 14 insertions, 0 deletions
diff --git a/multimedia/vlc/patches/patch-au b/multimedia/vlc/patches/patch-au
new file mode 100644
index 00000000000..55da9f1f81c
--- /dev/null
+++ b/multimedia/vlc/patches/patch-au
@@ -0,0 +1,14 @@
+$NetBSD: patch-au,v 1.11 2011/12/22 13:31:48 drochner Exp $
+
+VideoLAN-SA-1108
+
+--- modules/demux/ty.c.orig 2011-07-12 18:11:24.000000000 +0000
++++ modules/demux/ty.c
+@@ -1894,6 +1894,7 @@ static int get_chunk_header(demux_t *p_d
+ /*msg_Dbg( p_demux, "chunk has %d records", i_num_recs );*/
+
+ free(p_sys->rec_hdrs);
++ p_sys->rec_hdrs = NULL;
+
+ /* skip past the 4 bytes we "peeked" earlier */
+ stream_Read( p_demux->s, NULL, 4 );