axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Ehlers (JIRA)" <axis-c-...@ws.apache.org>
Subject [jira] Created: (AXISCPP-656) dereference missing in WSDL2Ws autogenerated code
Date Sun, 22 May 2005 09:48:52 GMT
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