kezhuw opened a new pull request, #1899:
URL: https://github.com/apache/zookeeper/pull/1899

   ```java
   if (serverPath.length() > chrootPath.length()) {
       event.setPath(serverPath.substring(chrootPath.length()));
   }
   ```
   
   Currently, chroot strip code listed above could result in illegal path
   (aka. path not start with "/"). This will disconnect zookeeper client
   due to `StringIndexOutOfBoundsException` from `PathParentIterator.next`
   in event handling.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@zookeeper.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to