squid/squid-3.2.0.13-errname.patch
Jiri Skala 3dbdbb0cf9 fixes #747103 - squid does not start if /var/spool/squid is empty
fixes #747110 - squid does not start adding "memory_pools off"
2011-10-26 08:46:29 +02:00

14 lines
741 B
Diff

diff -up squid-3.2.0.13/src/ssl/ErrorDetailManager.cc.dbg squid-3.2.0.13/src/ssl/ErrorDetailManager.cc
--- squid-3.2.0.13/src/ssl/ErrorDetailManager.cc.dbg 2011-10-14 03:42:56.000000000 +0200
+++ squid-3.2.0.13/src/ssl/ErrorDetailManager.cc 2011-10-26 08:16:12.968976995 +0200
@@ -209,7 +209,8 @@ Ssl::ErrorDetailFile::parse(const char *
return false;
}
- const char *errorName = parser.getByName("name").termedBuf();
+ String strErrName = parser.getByName("name");
+ const char *errorName = strErrName.termedBuf();
if (!errorName) {
debugs(83, DBG_IMPORTANT, HERE <<
"WARNING! invalid or no error detail name on:" << s);