Bug 14399

Summary: ISAPI Call w/o params will crash
Product: Apache httpd-2 Reporter: Detlev Vendt <detlev.vendt>
Component: mod_isapiAssignee: Apache HTTPD Bugs Mailing List <bugs>
Status: CLOSED FIXED    
Severity: enhancement    
Priority: P5    
Version: 2.0-HEAD   
Target Milestone: ---   
Hardware: PC   
OS: All   

Description Detlev Vendt 2002-11-08 22:14:14 UTC
Within mod_isapi.c, line 1415 it stated:

/* Based on some examples I've noticed, NULL is expected here. 
 */
    if (!*cid->ecb->lpszQueryString) {
        cid->ecb->lpszQueryString = NULL;
    }

Please refer to to Visual Studio 6.0 VC98/mfc/src/isapi.cpp, line 447. There's 
always a zero terminated string expected. Giving NULL results in exception with 
ISAPI-Call w/o params.

Suggestion for solution: delete the three lines.
Comment 1 William A. Rowe Jr. 2002-11-09 19:22:08 UTC
  Your suggested patch is in and will be in the next release 2.0.44.  Thanks!!!