summaryrefslogtreecommitdiff
path: root/www/w3c-httpd
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1998-08-09 00:10:45 +0000
committerSteve Price <steve@FreeBSD.org>1998-08-09 00:10:45 +0000
commit5a5fbb4af23ea43c786dcbc4bf6d1de8863aa61c (patch)
tree9b5789166077a29024e4201123a15e170f005081 /www/w3c-httpd
parentPick up blas.tgz since to other distfiles seemed to have (diff)
Patch a potential buffer overflow from DFN-CERT#34784.
PR: 6851 Submitted by: David Kelly <dkelly@nebula.tbe.com>
Notes
Notes: svn path=/head/; revision=12343
Diffstat (limited to 'www/w3c-httpd')
-rw-r--r--www/w3c-httpd/files/patch-ca12
1 files changed, 12 insertions, 0 deletions
diff --git a/www/w3c-httpd/files/patch-ca b/www/w3c-httpd/files/patch-ca
new file mode 100644
index 000000000000..110d585868e2
--- /dev/null
+++ b/www/w3c-httpd/files/patch-ca
@@ -0,0 +1,12 @@
+--- Daemon/Implementation/CGIParse.c.orig Wed Jun 3 12:38:15 1998
++++ Daemon/Implementation/CGIParse.c Wed Jun 3 12:38:41 1998
+@@ -293,7 +293,8 @@
+ *cur = 0;
+
+ if (init) {
+- printf("QUERY_STRING='%s'; export QUERY_STRING\n", query_string);
++ printf("QUERY_STRING='%s'; export QUERY_STRING\n",
++ sh_escape(query_string) );
+ exit(0);
+ }
+ }