You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Michael Han (JIRA)" <ji...@apache.org> on 2017/08/24 04:45:00 UTC
[jira] [Assigned] (ZOOKEEPER-2883) no null check for the pointer
which returned by allocate_buffer() function
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2883?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Han reassigned ZOOKEEPER-2883:
--------------------------------------
Assignee: guoxiang niu
> 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
> Assignee: 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)