Possible segfault in zookeeper_init
-----------------------------------

                 Key: ZOOKEEPER-1317
                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1317
             Project: ZooKeeper
          Issue Type: Bug
          Components: c client
    Affects Versions: 3.4.0, 3.3.3
            Reporter: Akira Kitada
            Priority: Minor
         Attachments: ZOOKEEPER-1317.patch

zookeeper_init does not check the return value of strdup(index_chroot).
When it returns NULL, it causes segfault when it try to strlen(zh->chroot).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to