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=7134>. 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=7134 segfault in UnixHTTPURLInputStream::UnixHTTPURLInputStream () Summary: segfault in UnixHTTPURLInputStream::UnixHTTPURLInputStream () Product: Xerces-C++ Version: Nightly build (please specify the date) Platform: PC OS/Version: Linux Status: NEW Severity: Normal Priority: Other Component: Utilities AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] this is for xerces-c-src1_7_0.tar.gz. after using DOMParser::parse multiple times with a URL as a file, i get a segfault. here's a diff that i made that seems to correct the problem. [andy@desolate src]$ diff xerces-c-src1_7_0.work/src/xercesc/util/NetAccessors/Socket/UnixHTTPURLInputStream.cpp xerces-c-src1_7_0/src/xercesc/util/NetAccessors/Socket/UnixHTTPURLInputStream.cpp 198,201c198,199 < { < int 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]
