[ 
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

        

Reply via email to