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 2003/12/15 18:27:21 UTC

DO NOT REPLY [Bug 25541] New: - Source http-url without path crashes xerces

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

Source http-url without path crashes xerces

           Summary: Source http-url without path crashes xerces
           Product: Xerces-C++
           Version: 2.4.0
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Critical
          Priority: Other
         Component: Utilities
        AssignedTo: xerces-c-dev@xml.apache.org
        ReportedBy: stefan.fleiter@web.de


I can reproduce the bug with Xalan, but it is in Xerces, read on:
#:Xalan http://test.de http://test.de/test.xsl
crashes when 
trans->transcodeTo(path, transSize, (unsigned char *) pathAsASCII, transSize,
charsEaten, XMLTranscoder::UnRep_Throw);
is called in UnixHTTPURLInputStream.cpp:251 because path is a Null-Pointer in
this case.

Config:
./runConfigure -d -plinux -cgcc -xg++ -minmem -nsocket -rnone -ticu -z -O3 
using icu 2.6

I will attach a patch fixing this issue.

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