billbarker    2003/08/25 21:41:54

  Modified:    jk/native/iis jk_isapi_plugin.c
  Log:
  Updating IIS for the changed contract.
  
  This one scares me, but I don't know (or want to know :) the ISAPI enough to know if 
it is safe to use stack-frame buffers.
  
  Nacho, Mladin: If you could review this, I'd be very grateful.  Unlike Apache, I 
can't actually build this one.
  
  Revision  Changes    Path
  1.19      +5 -4      jakarta-tomcat-connectors/jk/native/iis/jk_isapi_plugin.c
  
  Index: jk_isapi_plugin.c
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native/iis/jk_isapi_plugin.c,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -r1.18 -r1.19
  --- jk_isapi_plugin.c 25 Sep 2002 00:49:40 -0000      1.18
  +++ jk_isapi_plugin.c 26 Aug 2003 04:41:54 -0000      1.19
  @@ -759,13 +759,14 @@
                   jk_log(logger, JK_LOG_DEBUG, 
                          "In HttpFilterProc Virtual Host redirection of %s\n", 
                          snuri);
  -                worker = map_uri_to_worker(uw_map, snuri, logger);                
  -            }
  +            } else {
  +           strncpy(snuri, uri, sizeof(snuri));
  +         }
               if (!worker) {
                   jk_log(logger, JK_LOG_DEBUG, 
                          "In HttpFilterProc test Default redirection of %s\n", 
                          uri);
  -                worker = map_uri_to_worker(uw_map, uri, logger);
  +                worker = map_uri_to_worker(uw_map, snuri, logger);
               }
   
               if (worker) {
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to