Return-Path: Delivered-To: apmail-httpd-cvs-archive@httpd.apache.org Received: (qmail 11926 invoked by uid 500); 8 Sep 2002 17:56:19 -0000 Mailing-List: contact cvs-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list cvs@httpd.apache.org Received: (qmail 11915 invoked by uid 500); 8 Sep 2002 17:56:19 -0000 Delivered-To: apmail-httpd-2.0-cvs@apache.org Date: 8 Sep 2002 17:56:18 -0000 Message-ID: <20020908175618.74807.qmail@icarus.apache.org> From: brianp@apache.org To: httpd-2.0-cvs@apache.org Subject: cvs commit: httpd-2.0/modules/proxy mod_proxy.c X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N brianp 2002/09/08 10:56:18 Modified: modules/proxy mod_proxy.c Log: Check that r->filename is non-null before trying to use it in proxy_map_location() PR: 12340 Revision Changes Path 1.89 +1 -1 httpd-2.0/modules/proxy/mod_proxy.c Index: mod_proxy.c =================================================================== RCS file: /home/cvs/httpd-2.0/modules/proxy/mod_proxy.c,v retrieving revision 1.88 retrieving revision 1.89 diff -u -r1.88 -r1.89 --- mod_proxy.c 8 Jul 2002 17:43:33 -0000 1.88 +++ mod_proxy.c 8 Sep 2002 17:56:18 -0000 1.89 @@ -252,7 +252,7 @@ { int access_status; - if (!r->proxyreq || strncmp(r->filename, "proxy:", 6) != 0) + if (!r->proxyreq || !r->filename || strncmp(r->filename, "proxy:", 6) != 0) return DECLINED; /* Don't let the core or mod_http map_to_storage hooks handle this,