mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-29 01:13:08 +00:00
Add a patch to fix a cross site scripting bug in htsearch.
Submitted by: secteam (remko) Security: http://www.vuxml.org/freebsd/673aec6f-1cae-11da-bc01-000e0c2e438a.html
This commit is contained in:
parent
081a01e1c3
commit
ac8b967f09
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=142567
24
textproc/htdig/files/patch-config-xss
Normal file
24
textproc/htdig/files/patch-config-xss
Normal file
@ -0,0 +1,24 @@
|
||||
--- htsearch/htsearch.cc.orig Fri May 28 06:15:24 2004
|
||||
+++ htsearch/htsearch.cc Mon Sep 12 23:16:06 2005
|
||||
@@ -211,8 +211,7 @@
|
||||
}
|
||||
if (access((char*)configFile, R_OK) < 0)
|
||||
{
|
||||
- reportError(form("Unable to read configuration file '%s'",
|
||||
- configFile.get()));
|
||||
+ reportError("Unable to read configuration file");
|
||||
}
|
||||
config->Read(configFile);
|
||||
|
||||
--- htsearch/qtest.cc.orig Fri May 28 06:15:25 2004
|
||||
+++ htsearch/qtest.cc Mon Sep 12 23:19:49 2005
|
||||
@@ -132,8 +132,7 @@
|
||||
|
||||
if (access((char*)configFile, R_OK) < 0)
|
||||
{
|
||||
- reportError(form("Unable to find configuration file '%s'",
|
||||
- configFile.get()));
|
||||
+ reportError("Unable to find configuration file");
|
||||
}
|
||||
|
||||
config->Read(configFile);
|
Loading…
Reference in New Issue
Block a user