hadoop-zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mahadev konar (JIRA)" <j...@apache.org>
Subject [jira] Updated: (ZOOKEEPER-455) zookeeper c client crashes with chroot specified in the string.
Date Wed, 01 Jul 2009 00:06:47 GMT

     [ https://issues.apache.org/jira/browse/ZOOKEEPER-455?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Mahadev konar updated ZOOKEEPER-455:
------------------------------------

    Attachment: ZOOKEEPER-455.patch

here is the patch that fixes the issue. the null terminator for host string was one off ...
I havent included a test since its undeterministic depedning on malloc returning 0 filled
memory.

> zookeeper c client crashes with chroot specified in the string.
> ---------------------------------------------------------------
>
>                 Key: ZOOKEEPER-455
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-455
>             Project: Zookeeper
>          Issue Type: Bug
>            Reporter: Mahadev konar
>            Assignee: Mahadev konar
>            Priority: Blocker
>             Fix For: 3.2.0
>
>         Attachments: ZOOKEEPER-455.patch
>
>
> the zookeeper c client crashes with chroot specified in the string. This does not fail
on 2.6 but on ubuntu where the malloced memory is nto initialized to \0.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message