You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by bu...@apache.org on 2002/05/01 19:29:46 UTC

DO NOT REPLY [Bug 8704] New: - Buffer owerflow in UnixHTTPURLInputStream.cpp

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

Buffer owerflow in UnixHTTPURLInputStream.cpp

           Summary: Buffer owerflow in UnixHTTPURLInputStream.cpp
           Product: Xerces-C++
           Version: 1.7.0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Critical
          Priority: Other
         Component: Utilities
        AssignedTo: xerces-c-dev@xml.apache.org
        ReportedBy: irena@irnet.it


There can be an buffer owerflow or incorrect URL composition in case of URLs 
with query parameters in util/NetAccessors/Socket/UnixHTTPURLInputStream.cpp.
The patch:
 diff UnixHTTPURLInputStream.orig UnixHTTPURLInputStream.cpp
198a199,200
>        fBuffer[strlen(fBuffer)] = 0; 
>        fBuffer[strlen(fBuffer)+1] = 0; 

Regards,
 Irena

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org