dgaudet     98/02/02 23:29:54

  Modified:    src/os/win32 mod_isapi.c
  Log:
  r->finfo.st_mode == 0 should be the first test before using r->finfo in
  a handler
  
  Revision  Changes    Path
  1.7       +3 -3      apache-1.3/src/os/win32/mod_isapi.c
  
  Index: mod_isapi.c
  ===================================================================
  RCS file: /export/home/cvs/apache-1.3/src/os/win32/mod_isapi.c,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- mod_isapi.c       1998/01/07 16:47:08     1.6
  +++ mod_isapi.c       1998/02/03 07:29:53     1.7
  @@ -129,11 +129,11 @@
       if (!(allow_options(r) & OPT_EXECCGI))
        return FORBIDDEN;
   
  -    if (S_ISDIR(r->finfo.st_mode))
  -     return FORBIDDEN;
  -
       if (r->finfo.st_mode == 0)
        return NOT_FOUND;
  +
  +    if (S_ISDIR(r->finfo.st_mode))
  +     return FORBIDDEN;
   
       /* Load the module */
   
  
  
  

Reply via email to