Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.4 Final
-
None
-
RH9
Description
The function Axis_Create_* (in the following example, the mapItem
object) in the stubs generated by wsdl2ws java tool generates a SIGSEGV
when tring to enlarge an array of objects
mapItem* pNew = new mapItem[nSize];
memcpy(pNew, pObj, sizeof(mapItem)*nSize/2);
memset(pObj, 0, sizeof(mapItem)*nSize/2);
-> delete [] pObj; <- SIGSEGV
memset clears the virtual table pointer of the mapItem objects and the delete operator crash.