[ https://issues.apache.org/jira/browse/ZOOKEEPER-1317?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13166527#comment-13166527 ]
Hudson commented on ZOOKEEPER-1317: ----------------------------------- Integrated in ZooKeeper-trunk #1390 (See [https://builds.apache.org/job/ZooKeeper-trunk/1390/]) ZOOKEEPER-1317. Possible segfault in zookeeper_init. (Akira Kitada via mahadev) mahadev : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1212566 Files : * /zookeeper/trunk/CHANGES.txt * /zookeeper/trunk/src/c/src/zookeeper.c > 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