You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Botond Hejj (Updated) (JIRA)" <ji...@apache.org> on 2012/01/30 18:18:10 UTC

[jira] [Updated] (ZOOKEEPER-1380) zkperl: _zk_release_watch doesn't remove items properly from the watch list

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

Botond Hejj updated ZOOKEEPER-1380:
-----------------------------------

    Attachment: ZOOKEEPER-1380.patch

Patch to fix the doubly linked list update problem
                
> zkperl: _zk_release_watch doesn't remove items properly from the watch list
> ---------------------------------------------------------------------------
>
>                 Key: ZOOKEEPER-1380
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1380
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: contrib-bindings
>    Affects Versions: 3.3.3, 3.3.4, 3.4.0, 3.4.1, 3.4.2
>            Reporter: Botond Hejj
>             Fix For: 3.4.3, 3.5.0
>
>         Attachments: ZOOKEEPER-1380.patch
>
>
> The doubly linked list of watches is not updated properly if a watch is taken out from the middle of the chain.
> The item after the item which is taken out will receive null pointer for the previous element! This will make the doubly linked list inconsistent and can lead to segfault or infinite loop when the doubly linked list is iterated later.

--
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