You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2003/07/03 09:13:47 UTC
DO NOT REPLY [Bug 21302] New: -
function send_response_header mistake
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21302>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21302
function send_response_header mistake
Summary: function send_response_header mistake
Product: Apache httpd-2.0
Version: 2.0.46
Platform: PC
OS/Version: Windows NT/2K
Status: NEW
Severity: Normal
Priority: Other
Component: mod_isapi
AssignedTo: bugs@httpd.apache.org
ReportedBy: LReinstein@helpsoft.cz
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);
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org