guoxiang niu created ZOOKEEPER-2881:
---------------------------------------

             Summary: 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
             Fix For: 3.4.9


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)

Reply via email to