guoxiang niu created ZOOKEEPER-2883:
---------------------------------------
Summary: no null check for the pointer which returned by
allocate_buffer() function
Key: ZOOKEEPER-2883
URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2883
Project: ZooKeeper
Issue Type: Bug
Reporter: guoxiang niu
1、in check_events() function, no null check for the pointer returned by
allocate_buffer, the pointer will be passed to recv_buffer(), then the
curr_offset member of pointer will be accessed directly.
2、in queue_session_event(), curr_offset also be accessed directly without null
check.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)