mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
Patch a potential buffer overflow from DFN-CERT#34784.
PR: 6851 Submitted by: David Kelly <dkelly@nebula.tbe.com>
This commit is contained in:
parent
ec0192a303
commit
5a5fbb4af2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=12343
1 changed files with 12 additions and 0 deletions
12
www/w3c-httpd/files/patch-ca
Normal file
12
www/w3c-httpd/files/patch-ca
Normal file
|
@ -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);
|
||||
}
|
||||
}
|
Loading…
Add table
Reference in a new issue