You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Marc Celani (Created) (JIRA)" <ji...@apache.org> on 2012/01/22 05:07:40 UTC

[jira] [Created] (ZOOKEEPER-1368) zookeeper c client get apis crash if zhandle is null

zookeeper c client get apis crash if zhandle is null
----------------------------------------------------

                 Key: ZOOKEEPER-1368
                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1368
             Project: ZooKeeper
          Issue Type: Bug
          Components: c client
            Reporter: Marc Celani


Although wget, awget, wexists, awexists, wgetchildren, awgetchildren will return ZBADARGUMENTS when zh is null, the get APIs will crash if you request a watch, as they dereference the zh without checking for null in order to get the watch function.

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