axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 24810] New: - CServiceWrapper segfaults on invalid XML
Date Wed, 19 Nov 2003 07:44:55 GMT
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=24810>.
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=24810

CServiceWrapper segfaults on invalid XML

           Summary: CServiceWrapper segfaults on invalid XML
           Product: Axis-C++
           Version: current (nightly)
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Basic Architecture
        AssignedTo: axis-dev@ws.apache.org
        ReportedBy: slang@mcs.anl.gov


If an invalid XML message is sent the server, AxisC++ segfaults.  The message
its segfaulting on is:

<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
 <soapenv:Body>
  <AddPoint><p1<p2><x>5</x><y>3</y></p2></AddPoint>
 </soapenv:Body>
</soapenv:Envelope>


Notice the <p1<p2> invalid element.

The stack trace where it segfaults is:

#0  0x40434dea in CServiceWrapper::AddPointWrapped(IMessageData*) (
    this=0x8057760, mc=0x0) at CServiceWrapper.cpp:206
#1  0x40434bb1 in CServiceWrapper::Invoke(IMessageData*) (this=0x8057760, 
    mc=0x80544e0) at CServiceWrapper.cpp:143

Mime
View raw message