axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chinthana Danapala (JIRA)" <axis-c-...@ws.apache.org>
Subject [jira] Closed: (AXISCPP-656) dereference missing in WSDL2Ws autogenerated code
Date Thu, 16 Jun 2005 09:00:46 GMT
     [ 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


Mime
View raw message