zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "guoxiang niu (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (ZOOKEEPER-2881) memory leak in create_buffer_iarchive() and create_buffer_oarchive()
Date Wed, 23 Aug 2017 15:06:00 GMT

     [ 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)

Mime
View raw message