axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Blough (Jira)" <j...@apache.org>
Subject [jira] [Closed] (AXIS2C-1585) Double freeing pointers
Date Tue, 07 Apr 2020 03:00:00 GMT

     [ https://issues.apache.org/jira/browse/AXIS2C-1585?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Bill Blough closed AXIS2C-1585.
-------------------------------
    Resolution: Won't Fix

> Double freeing pointers
> -----------------------
>
>                 Key: AXIS2C-1585
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-1585
>             Project: Axis2-C
>          Issue Type: Improvement
>          Components: util
>            Reporter: Michael Tyler
>            Priority: Major
>              Labels: api-change, features, patch
>
> I believe that most of double freeing of pointer core dump issues can simple by resolved
by altering the axutil_allocator_free_impl function
> change 
> void AXIS2_CALL
> axutil_allocator_free_impl(
>     axutil_allocator_t * allocator,
>     void *ptr)
> {
>     free(ptr);
> }
> to 
> void AXIS2_CALL
> axutil_allocator_free_impl(
>     axutil_allocator_t * allocator,
>     void *ptr)
> {
>     free(ptr);
>     ptr = NULL;
> }



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: c-dev-help@axis.apache.org


Mime
View raw message