From: yabuki Date: Fri, 2 Dec 2011 08:13:44 +0000 (-0700) Subject: Bug 3432: Crash logging FTP errors X-Git-Tag: SQUID_3_2_0_14~22 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=477e5df71e5f6d659c7f8046b29c462fba189900;p=thirdparty%2Fsquid.git Bug 3432: Crash logging FTP errors --- diff --git a/src/errorpage.cc b/src/errorpage.cc index c6afacb569..a42ca60aad 100644 --- a/src/errorpage.cc +++ b/src/errorpage.cc @@ -779,7 +779,7 @@ ErrorState::Dump(MemBuf * mb) if (ftp.request) { str.Printf("FTP Request: %s\r\n", ftp.request); - str.Printf("FTP Reply: %s\r\n", ftp.reply); + str.Printf("FTP Reply: %s\r\n", (ftp.reply? ftp.reply:"[none]")); str.Printf("FTP Msg: "); wordlistCat(ftp.server_msg, &str); str.Printf("\r\n");