httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject cvs commit: httpd-2.0/modules/arch/win32 mod_isapi.c
Date Fri, 15 Mar 2002 16:57:08 GMT
wrowe       02/03/15 08:57:08

  Modified:    modules/arch/win32 mod_isapi.c
  Log:
    Another potential ap_server_root_relative failure.
  
  Revision  Changes    Path
  1.59      +1 -1      httpd-2.0/modules/arch/win32/mod_isapi.c
  
  Index: mod_isapi.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/arch/win32/mod_isapi.c,v
  retrieving revision 1.58
  retrieving revision 1.59
  diff -u -r1.58 -r1.59
  --- mod_isapi.c	13 Mar 2002 20:47:44 -0000	1.58
  +++ mod_isapi.c	15 Mar 2002 16:57:08 -0000	1.59
  @@ -1232,7 +1232,7 @@
       char *fspec;
       
       fspec = ap_server_root_relative(cmd->pool, filename);
  -    if ((rv = apr_stat(&tmp, fspec, 
  +    if (!fspec || (rv = apr_stat(&tmp, fspec, 
                    APR_FINFO_TYPE, cmd->temp_pool)) != APR_SUCCESS) { 
   	ap_log_error(APLOG_MARK, APLOG_WARNING, rv, cmd->server,
   	    "ISAPI: unable to stat(%s), skipping", filename);
  
  
  

Mime
View raw message