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 "Eric Ehlers (JIRA)" <ax...@ws.apache.org> on 2005/05/22 11:48:52 UTC
[jira] Created: (AXISCPP-656) dereference missing in WSDL2Ws autogenerated code
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
[jira] Commented: (AXISCPP-656) dereference missing in WSDL2Ws autogenerated code
Posted by "nadir amra (JIRA)" <ax...@ws.apache.org>.
[ http://issues.apache.org/jira/browse/AXISCPP-656?page=comments#action_66399 ]
nadir amra commented on AXISCPP-656:
------------------------------------
Should now be fixed.
Change involved file wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/literal/BeanParamWriter.java.
This was fixed at one time post release 1.5, version 1.63 of the file. I would implore committers to ensure that they do compares prior to committing anything.
Now I need to figure out how to assign/close this issue.
> 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
[jira] Closed: (AXISCPP-656) dereference missing in WSDL2Ws autogenerated code
Posted by "Chinthana Danapala (JIRA)" <ax...@ws.apache.org>.
[ 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