Steven Cheng updated ZOOKEEPER-458:

    Attachment: ZOOKEEPER-458.patch

Sorry Mahadev, for some reason an old patch got uploaded instead.  I'll make 
sure to double-check next time.

I changed the tests so that a server was available and then disconnects, these 
ones pass for me.

> connect_index in zookeeper handle might get out of bound.
> ---------------------------------------------------------
>                 Key: ZOOKEEPER-458
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-458
>             Project: Zookeeper
>          Issue Type: Bug
>          Components: c client
>            Reporter: Mahadev konar
>            Assignee: Steven Cheng
>             Fix For: 3.3.0
>         Attachments: ZOOKEEPER-458.patch, ZOOKEEPER-458.patch, 
> ZOOKEEPER-458.patch, ZOOKEEPER-458.patch
> connect_index in zookeeper handle might get out of bound. the zokoeeper_init 
> method checks for index == count and sets it to zero. If the index becomes 
> greater than count, then it will go out of bounds.

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

Reply via email to