[
https://issues.apache.org/jira/browse/ZOOKEEPER-2883?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
guoxiang niu updated ZOOKEEPER-2883:
------------------------------------
Priority: Minor (was: Major)
> 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
> Affects Versions: 3.4.9
> Reporter: guoxiang niu
> Priority: Minor
>
> 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)