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 "Dushshantha Chandradasa (JIRA)" <ax...@ws.apache.org> on 2005/07/28 07:48:18 UTC

[jira] Assigned: (AXISCPP-256) SoapFault::setParam fails when xsdtype is not a string

     [ http://issues.apache.org/jira/browse/AXISCPP-256?page=all ]

Dushshantha Chandradasa reassigned AXISCPP-256:
-----------------------------------------------

    Assign To: Dushshantha Chandradasa

> SoapFault::setParam fails when xsdtype is not a string
> ------------------------------------------------------
>
>          Key: AXISCPP-256
>          URL: http://issues.apache.org/jira/browse/AXISCPP-256
>      Project: Axis-C++
>         Type: Bug
>   Components: SOAP
>     Versions: current (nightly)
>     Reporter: Mark Whitlock
>     Assignee: Dushshantha Chandradasa
>     Priority: Minor
>      Fix For: 1.6 Alpha

>
> SoapFault::setParam used to copy the value into a fault using strdup which assumes the value is a string (which it normally is). But the value could be any type, so this code will fail (and may sigsegv) for types other than strings. I have recently changed the code to replace strdup's with new's and strcpy's, so that is how I discovered this bug, but as yet I haven't fixed it.

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