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=7000>.
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=7000

UnixHTTPURLInputStream.cpp (Version 1.7 and 1.6)

           Summary: UnixHTTPURLInputStream.cpp (Version 1.7 and 1.6)
           Product: Xerces-C++
           Version: 1.6.0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Utilities
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


The URL is corrupted in UnixHTTPURLInputStream.cpp as a
result of the query string being added.  This bug is 
present in versions 1.6 and 1.7 of xerces-c.

Fix:

xerces-c-src1_7_0|Sat11:46am} 
diff ./src/xercesc/util/NetAccessors/Socket/UnixHTTPURLInputStream.cpp ./src/xer
cesc/util/NetAccessors/Socket/UnixHTTPURLInputStream.cpp.orig
199,201c199
<       size_t n = strlen(fBuffer);
<       fBuffer[n] = chQuestion;
<       fBuffer[n+1] = '\0';
---
>       fBuffer[strlen(fBuffer)] = chQuestion;

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to