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 "Chinthana Danapala (JIRA)" <ax...@ws.apache.org> on 2005/07/01 05:22:57 UTC

[jira] Commented: (AXISCPP-329) NIL xsd:string type segfaults server in RPC/Encoded

    [ http://issues.apache.org/jira/browse/AXISCPP-329?page=comments#action_12314844 ] 

Chinthana Danapala commented on AXISCPP-329:
--------------------------------------------

Can you attach the WSDL file and client and server implementation so it's easy to recreate the problem?

> NIL xsd:string type segfaults server in RPC/Encoded
> ---------------------------------------------------
>
>          Key: AXISCPP-329
>          URL: http://issues.apache.org/jira/browse/AXISCPP-329
>      Project: Axis-C++
>         Type: Bug
>   Components: Server - Engine
>     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://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira