From: hno <> Date: Fri, 26 Oct 2001 01:51:27 +0000 (+0000) Subject: Bugzilla #255: Core dump in sslStart if miss_access is denied X-Git-Tag: SQUID_3_0_PRE1~1317 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d98abd5f7df440ca537dccf21f763ceae79ec516;p=thirdparty%2Fsquid.git Bugzilla #255: Core dump in sslStart if miss_access is denied --- diff --git a/src/ssl.cc b/src/ssl.cc index 4a347f3072..c89973f998 100644 --- a/src/ssl.cc +++ b/src/ssl.cc @@ -1,6 +1,6 @@ /* - * $Id: ssl.cc,v 1.116 2001/10/24 08:19:08 hno Exp $ + * $Id: ssl.cc,v 1.117 2001/10/25 19:51:27 hno Exp $ * * DEBUG: section 26 Secure Sockets Layer Proxy * AUTHOR: Duane Wessels @@ -456,7 +456,6 @@ sslStart(int fd, const char *url, request_t * request, size_t * size_ptr, int *s answer = aclCheckFast(Config.accessList.miss, &ch); if (answer == 0) { err = errorCon(ERR_FORWARDING_DENIED, HTTP_FORBIDDEN); - *sslState->status_ptr = HTTP_FORBIDDEN; err->request = requestLink(request); err->src_addr = request->client_addr; errorSend(fd, err); diff --git a/src/tunnel.cc b/src/tunnel.cc index 847b1240f6..16004b28c7 100644 --- a/src/tunnel.cc +++ b/src/tunnel.cc @@ -1,6 +1,6 @@ /* - * $Id: tunnel.cc,v 1.116 2001/10/24 08:19:08 hno Exp $ + * $Id: tunnel.cc,v 1.117 2001/10/25 19:51:27 hno Exp $ * * DEBUG: section 26 Secure Sockets Layer Proxy * AUTHOR: Duane Wessels @@ -456,7 +456,6 @@ sslStart(int fd, const char *url, request_t * request, size_t * size_ptr, int *s answer = aclCheckFast(Config.accessList.miss, &ch); if (answer == 0) { err = errorCon(ERR_FORWARDING_DENIED, HTTP_FORBIDDEN); - *sslState->status_ptr = HTTP_FORBIDDEN; err->request = requestLink(request); err->src_addr = request->client_addr; errorSend(fd, err);