[
https://issues.apache.org/jira/browse/ZOOKEEPER-1317?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Patrick Hunt updated ZOOKEEPER-1317:
------------------------------------
Fix Version/s: 3.5.0
> 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.3.3, 3.4.0
> Reporter: Akira Kitada
> Assignee: Akira Kitada
> Priority: Minor
> Fix For: 3.5.0, 3.4.1
>
> 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