Bug 21302 - function send_response_header mistake
Summary: function send_response_header mistake
Status: RESOLVED DUPLICATE of bug 20619
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: mod_isapi (show other bugs)
Version: 2.0.46
Hardware: PC All
: P3 normal (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
Depends on:
Reported: 2003-07-03 07:13 UTC by Ludek Reinstein
Modified: 2005-03-20 17:06 UTC (History)
0 users


Note You need to log in before you can comment on or make changes to this bug.
Description Ludek Reinstein 2003-07-03 07:13:46 UTC
Line 728 (function send_response_header) copy only 'statlen' bytes: 
        apr_cpystrn(newstat + 8, stat, statlen);
This mistake may cause some net problems if isapi application uses custom-build 
response headers.

The fix is simple: add '1' in line 586.
        apr_cpystrn(newstat + 8, stat, statlen+1);
Comment 1 Ludek Reinstein 2003-07-03 07:21:53 UTC
Line number is 728: 
The fix is simple: add '1' in line 728.
        apr_cpystrn(newstat + 8, stat, statlen+1);
Comment 2 Ludek Reinstein 2003-07-04 07:45:04 UTC
This is the same problem as in bug 20619.

*** This bug has been marked as a duplicate of 20619 ***