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]

Reply via email to