You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by ji...@apache.org on 2004/04/08 08:00:43 UTC

[jira] Resolved: (AXISCPP-26) CServiceWrapper segfaults on invalid XML

Message:

   The following issue has been resolved as CANNOT REPRODUCE.

   Resolver: Susantha Kumara
       Date: Wed, 7 Apr 2004 10:59 PM

Current code base sends a Soap fault when the SOAP message is invalid as an XML document. But there are other ways to make SOAP message invalid while the message is valid as XML. If such bugs exists this bug may be re-opened.  
---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/AXISCPP-26

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: AXISCPP-26
    Summary: CServiceWrapper segfaults on invalid XML
       Type: Bug

     Status: Resolved
 Resolution: CANNOT REPRODUCE

    Project: Axis-C++
 Components: 
             Basic Architecture
   Fix Fors:
             current (nightly)
   Versions:
             current (nightly)

   Assignee: 
   Reporter: Sam Lang

    Created: Wed, 19 Nov 2003 7:42 AM
    Updated: Wed, 7 Apr 2004 10:59 PM
Environment: Operating System: Other
Platform: Other

Description:
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


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira