diff options
author | wiz <wiz> | 2004-03-31 13:23:27 +0000 |
---|---|---|
committer | wiz <wiz> | 2004-03-31 13:23:27 +0000 |
commit | 9500c0504d82f50e7ab2a2fee5c3ec986a6a4fe9 (patch) | |
tree | bc29c5c18e0183a2018b2629fa3bf5eceac1087f /multimedia/mplayer-share | |
parent | 6c326f6693dc929e7bb1add5e6e5b8e5c1c427e6 (diff) | |
download | pkgsrc-9500c0504d82f50e7ab2a2fee5c3ec986a6a4fe9.tar.gz |
Upgrade mplayer, gmplayer, and mencoder to PKGREVISION 2:
Fix remotely exploitable buffer overflow.
Diffstat (limited to 'multimedia/mplayer-share')
-rw-r--r-- | multimedia/mplayer-share/patches/patch-ac | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/multimedia/mplayer-share/patches/patch-ac b/multimedia/mplayer-share/patches/patch-ac new file mode 100644 index 00000000000..89e72d36712 --- /dev/null +++ b/multimedia/mplayer-share/patches/patch-ac @@ -0,0 +1,13 @@ +$NetBSD: patch-ac,v 1.1 2004/03/31 13:23:27 wiz Exp $ + +--- libmpdemux/http.c.orig Wed Nov 13 10:02:55 2002 ++++ libmpdemux/http.c +@@ -175,7 +175,7 @@ http_build_request( HTTP_header_t *http_ + if( http_hdr->method==NULL ) http_set_method( http_hdr, "GET"); + if( http_hdr->uri==NULL ) http_set_uri( http_hdr, "/"); + else { +- uri = (char*)malloc(strlen(http_hdr->uri)*2); ++ uri = (char*)malloc((strlen(http_hdr->uri)*3) + 1); + if( uri==NULL ) { + mp_msg(MSGT_NETWORK,MSGL_ERR,"Memory allocation failed\n"); + return NULL; |