axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Hardy (JIRA)" <axis-c-...@ws.apache.org>
Subject [jira] Created: (AXISCPP-329) NIL xsd:string type segfaults server in RPC/Encoded
Date Sun, 19 Dec 2004 16:00:13 GMT
NIL xsd:string type segfaults server in RPC/Encoded
---------------------------------------------------

         Key: AXISCPP-329
         URL: http://nagoya.apache.org/jira/browse/AXISCPP-329
     Project: Axis-C++
        Type: Bug
  Components: Serialization/Deserialization  
    Versions: current (nightly)    
 Environment: tested on win32 with rpc/encoded
    Reporter: Steve Hardy


There is no (correct) handling in SoapDeSerializer for NIL xsd:string types in rpc/encoded.
This causes SoapDeSerializer::getXSDType to use a NULL pointer returned by splitQNameString
to be passed to getNS4Prefix, which subsequently segfaults. I'm not sure whether this is due
to the client sending the wrong tag, but this should be fixed on the server in any case.

In my test case, the attributes are only:

+	[0x0]	0x01218548 "nil"
+	[0x1]	0x01218590 "http://www.w3.org/2001/XMLSchema-instance"
+	[0x2]	0x012185f8 "true"

so the type is missing here.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.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


Mime
View raw message