You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by bu...@apache.org on 2003/11/19 08:42:56 UTC

DO NOT REPLY [Bug 24809] New: - CServiceWrapper segfaults on invalid XML

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

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