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 ax...@ws.apache.org on 2004/10/14 18:46:54 UTC

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

Message:

   The following issue has been closed.

   Resolver: John Hawkins
       Date: Thu, 14 Oct 2004 9:45 AM

As no response, assuming closed
---------------------------------------------------------------------
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: Closed
 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: Thu, 14 Oct 2004 9:45 AM
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