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 Sat, 09 Nov 2002 19:20:33 GMT
wrowe       2002/11/09 11:20:33

  Modified:    modules/arch/win32 mod_isapi.c
  Log:
    Stop unsetting the 'empty' query string result with
    a NULL argument in ecb->lpszQueryString, eliminating segfaults
    for some ISAPI modules.
  
  PR: 14399
  Submitted by:	Detlev Vendt <detlev.vendt@brillit.de>
  
  Revision  Changes    Path
  1.87      +0 -6      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.86
  retrieving revision 1.87
  diff -u -r1.86 -r1.87
  --- mod_isapi.c	9 Nov 2002 19:10:15 -0000	1.86
  +++ mod_isapi.c	9 Nov 2002 19:20:33 -0000	1.87
  @@ -1422,12 +1422,6 @@
       cid->ecb->lpszPathTranslated = (char*) apr_table_get(e, "PATH_TRANSLATED");
       cid->ecb->lpszContentType = (char*) apr_table_get(e, "CONTENT_TYPE");
       
  -    /* Based on some examples I've noticed, NULL is expected here. 
  -     */
  -    if (!*cid->ecb->lpszQueryString) {
  -        cid->ecb->lpszQueryString = NULL;
  -    }
  -
       /* Set up the callbacks */
       cid->ecb->GetServerVariable = GetServerVariable;
       cid->ecb->WriteClient = WriteClient;
  
  
  

Mime
View raw message