You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by wr...@apache.org on 2002/03/15 17:57:08 UTC

cvs commit: httpd-2.0/modules/arch/win32 mod_isapi.c

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);