49fba54f41
security fixes [release 3.2.0b6-1mamba;Tue Dec 01 2009]
27 lines
972 B
Diff
27 lines
972 B
Diff
diff -ru htdig-3.2.0b6/htsearch/htsearch.cc htdig-3.2.0b6-fix/htsearch/htsearch.cc
|
|
--- htdig-3.2.0b6/htsearch/htsearch.cc 2004-05-28 15:15:24.000000000 +0200
|
|
+++ htdig-3.2.0b6-fix/htsearch/htsearch.cc 2009-12-01 21:24:38.000000000 +0100
|
|
@@ -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);
|
|
|
|
diff -ru htdig-3.2.0b6/htsearch/qtest.cc htdig-3.2.0b6-fix/htsearch/qtest.cc
|
|
--- htdig-3.2.0b6/htsearch/qtest.cc 2004-05-28 15:15:25.000000000 +0200
|
|
+++ htdig-3.2.0b6-fix/htsearch/qtest.cc 2009-12-01 21:25:17.000000000 +0100
|
|
@@ -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);
|