diff options
Diffstat (limited to 'media-video/mplayer/files/vuln02-fix.diff')
-rw-r--r-- | media-video/mplayer/files/vuln02-fix.diff | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/media-video/mplayer/files/vuln02-fix.diff b/media-video/mplayer/files/vuln02-fix.diff deleted file mode 100644 index b2bed9f0b0c3..000000000000 --- a/media-video/mplayer/files/vuln02-fix.diff +++ /dev/null @@ -1,12 +0,0 @@ -diff -u -r1.17 -r1.18 ---- http.c 13 Nov 2002 09:02:55 -0000 1.17 -+++ http.c 30 Mar 2004 10:58:41 -0000 1.18 -@@ -175,7 +175,7 @@ - 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; |