From: hno <> Date: Fri, 20 Jun 2003 00:20:51 +0000 (+0000) Subject: 2003-05-11 23:44 hno X-Git-Tag: SQUID_3_0_PRE1~115 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2c3de963d8ae567e81236a4bd94256d1b9cf71b1;p=thirdparty%2Fsquid.git 2003-05-11 23:44 hno Bug #591: segfault in authenticateAuthenticate() if debugging enabled --- diff --git a/src/authenticate.cc b/src/authenticate.cc index e762c0bc9d..a644ccca51 100644 --- a/src/authenticate.cc +++ b/src/authenticate.cc @@ -1,6 +1,6 @@ /* - * $Id: authenticate.cc,v 1.56 2003/03/04 01:40:25 robertc Exp $ + * $Id: authenticate.cc,v 1.57 2003/06/19 18:20:51 hno Exp $ * * DEBUG: section 29 Authenticator * AUTHOR: Robert Collins @@ -649,7 +649,7 @@ AuthUserRequest::authenticate(auth_user_request_t ** auth_user_request, http_hdr /* we have a proxy auth header and as far as we know this connection has * not had bungled connection oriented authentication happen on it. */ - debug(28, 9) ("authenticateAuthenticate: header %s.\n", proxy_auth); + debug(28, 9) ("authenticateAuthenticate: header %s.\n", proxy_auth ? proxy_auth : "-"); if (*auth_user_request == NULL) {