You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "guoxiang niu (JIRA)" <ji...@apache.org> on 2017/08/23 15:06:00 UTC
[jira] [Updated] (ZOOKEEPER-2881) memory leak in
create_buffer_iarchive() and create_buffer_oarchive()
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2881?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
guoxiang niu updated ZOOKEEPER-2881:
------------------------------------
Fix Version/s: (was: 3.4.9)
> memory leak in create_buffer_iarchive() and create_buffer_oarchive()
> --------------------------------------------------------------------
>
> Key: ZOOKEEPER-2881
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2881
> Project: ZooKeeper
> Issue Type: Bug
> Components: c client
> Affects Versions: 3.4.9
> Reporter: guoxiang niu
> Priority: Minor
>
> in create_buffer_iarchive() function, null check of ia and return should be done before allocing memory for buff, otherwise, memory of buff might be leak.
> same issue is existing in create_buffer_oarchive() function.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)