Bug 14399 - ISAPI Call w/o params will crash
Summary: ISAPI Call w/o params will crash
Status: CLOSED FIXED
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: mod_isapi (show other bugs)
Version: 2.0-HEAD
Hardware: PC All
: P5 enhancement (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-11-08 22:14 UTC by Detlev Vendt
Modified: 2005-03-20 17:06 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
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!!!