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/06/16 11:00:46 UTC

[jira] Closed: (AXISCPP-656) dereference missing in WSDL2Ws autogenerated code

     [ http://issues.apache.org/jira/browse/AXISCPP-656?page=all ]
     
Chinthana Danapala closed AXISCPP-656:
--------------------------------------

    Resolution: Fixed

(Visible to axiscpp-developers)


> dereference missing in WSDL2Ws autogenerated code
> -------------------------------------------------
>
>          Key: AXISCPP-656
>          URL: http://issues.apache.org/jira/browse/AXISCPP-656
>      Project: Axis-C++
>         Type: Bug
>   Components: WSDL processing - Doc
>     Versions: 1.6 Alpha
>  Environment: all
>     Reporter: Eric Ehlers

>
> In the array example WSDL2Ws generates file Type.cpp containing function Axis_DeSerialize_Type containing line
>     memcpy( param->item.m_Array, array.m_Array, sizeof( xsd__int) * array.m_Size);
> this should be
>     memcpy( param->item.m_Array, array.m_Array, sizeof( xsd__int*) * array.m_Size);
> you don't notice it with int as sizeof(int) = sizeof(int*) but replace int with double and axis crashes

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