Bug 21302

Summary: function send_response_header mistake
Product: Apache httpd-2 Reporter: Ludek Reinstein <LReinstein>
Component: mod_isapiAssignee: Apache HTTPD Bugs Mailing List <bugs>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P3    
Version: 2.0.46   
Target Milestone: ---   
Hardware: PC   
OS: All   

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 ***