axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Darroch (JIRA)" <j...@apache.org>
Subject [jira] Created: (AXIS2C-384) CLONE -calls to NULL pointers in woden/src/wsdl10/part.c
Date Fri, 03 Nov 2006 20:58:16 GMT
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: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


Mime
View raw message