openbsd-ports/x11/mplayer/patches/patch-stream_url_c
jakemsr 785ec1fe86 security patches for
- buffer overflow in stream_cddb.c
- buffer overflow in url.c
- buffer overflow in demux_mov.c
- stack overflow in demux_audio.c

from brad@, ok maintainer

also remove reference to rtunes_ao.diff from distinfo.  this patch is
not used now because it does not apply.
2008-02-11 00:22:03 +00:00

12 lines
349 B
Plaintext

$OpenBSD: patch-stream_url_c,v 1.1 2008/02/11 00:22:03 jakemsr Exp $
--- stream/url.c.orig Fri Feb 8 13:32:35 2008
+++ stream/url.c Fri Feb 8 13:33:05 2008
@@ -328,6 +328,7 @@ url_escape_string(char *outbuf, const char *inbuf) {
}
}
+ tmp = NULL;
while(i < len) {
// look for the next char that must be kept
for (j=i;j<len;j++) {