You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Mahadev konar (JIRA)" <ji...@apache.org> on 2009/03/12 01:09:50 UTC

[jira] Updated: (ZOOKEEPER-309) core dump using zoo_get_acl()

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

Mahadev konar updated ZOOKEEPER-309:
------------------------------------

    Attachment: ZOOKEEPER-309.patch

this patch adds some tests to chris's patch. The test runs the sync setacl's and getacl's and  since both of them use the async version of the set/get acl, it indirectly tests the async versions as well.

> core dump using zoo_get_acl() 
> ------------------------------
>
>                 Key: ZOOKEEPER-309
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-309
>             Project: Zookeeper
>          Issue Type: Bug
>          Components: c client
>    Affects Versions: 3.0.0, 3.0.1, 3.1.0
>            Reporter: Chris Darroch
>             Fix For: 3.1.1, 3.2.0
>
>         Attachments: ZOOKEEPER-309.patch, ZOOKEEPER-309.patch
>
>
> The zookeeper_process() function incorrectly calls the c.acl_result member of the completion_list_t structure when handling the completion from a synchronous zoo_get_acl() request.  The c.acl_result member is set to SYNCHRONOUS_MARKER, which is a null pointer.
> The attached patch removes this call.

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