[ http://issues.apache.org/jira/browse/AXIS2C-384?page=comments#action_12447077 ] Chris Darroch commented on AXIS2C-384: --------------------------------------
While woden/src/wsdl10/msg_ref.c has been fixed, I see similar problems in woden/src/wsdl10/part.c, for example: if (!part) { part_impl = (woden_wsdl10_part_impl_t *) create(env); } else part_impl = (woden_wsdl10_part_impl_t *) part; woden_wsdl10_part_free_ops(part, env); I suspect there are other places where this occurs too ... I see some in wsdl10_desc.c, and also over in woden/src/wsdl20/desc.c, etc. Someone will need to do a thorough seach through the code, I'm afraid. Sorry! > CLONE -calls to NULL pointers in woden/src/wsdl10/part.c > -------------------------------------------------------- > > Key: AXIS2C-384 > URL: http://issues.apache.org/jira/browse/AXIS2C-384 > Project: Axis2-C > Issue Type: Bug > Components: woden > Affects Versions: Current (Nightly), 0.94 > Reporter: Chris Darroch > Assigned To: Dinesh Premalal > Priority: Minor > Fix For: 0.95 > > > In woden/src/wsdl10/msg_ref.c the following code is repeated often: > if (!msg_ref) > { > msg_ref_impl = (woden_wsdl10_msg_ref_impl_t *) create(env); > } > else > msg_ref_impl = (woden_wsdl10_msg_ref_impl_t *) msg_ref; > woden_wsdl10_msg_ref_free_ops(msg_ref, env); > This won't actually work if msg_ref is NULL, because although create() runs > OK, the > call to woden_wsdl10_msg_ref_free_ops() then fails with a segfault. -- 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 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]