freebsd-ports/www/junkbuster/files/patch-ah
Edwin Groothuis 90958de059 Resurrect www/junkbuster.
Fix vulnerability as described on
	http://bugs.gentoo.org/show_bug.cgi?id=88537
2005-12-20 23:59:29 +00:00

29 lines
1 KiB
Text

diff -ruN /usr/ports/www/ijb/work/ijb20/loaders.c ./loaders.c
--- /usr/ports/www/ijb/work/ijb20/loaders.c Mon Feb 28 02:35:10 2000
+++ ./loaders.c Mon Feb 28 02:34:29 2000
@@ -8,7 +8,7 @@
#include <stdlib.h>
#include <sys/types.h>
#include <string.h>
-#include <malloc.h>
+#include <stdlib.h>
#include <errno.h>
#include <sys/stat.h>
#include <ctype.h>
@@ -1160,7 +1160,7 @@
extern char *acl_rcs, *bind_rcs, *conn_rcs, *encode_rcs,
*jcc_rcs, *loaders_rcs, *parsers_rcs, *filters_rcs,
- *socks4_rcs, *ssplit_rcs, *gnu_regex_rcs, *win32_rcs;
+ *socks4_rcs, *ssplit_rcs, *win32_rcs;
b = strsav(b, "<h2>Source versions:</h2>\n");
b = strsav(b, "<pre>");
@@ -1174,7 +1174,6 @@
sprintf(buf, "%s\n", socks4_rcs ); b = strsav(b, buf);
sprintf(buf, "%s\n", ssplit_rcs ); b = strsav(b, buf);
sprintf(buf, "%s\n", acl_rcs ); b = strsav(b, buf);
- sprintf(buf, "%s\n", gnu_regex_rcs ); b = strsav(b, buf);
sprintf(buf, "%s\n", win32_rcs ); b = strsav(b, buf);
b = strsav(b, "</pre>");