httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bri...@apache.org
Subject cvs commit: httpd-2.0/modules/proxy mod_proxy.c
Date Sun, 08 Sep 2002 17:56:18 GMT
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,
  
  
  

Mime
View raw message