target: Check LUN numbers in transport_get_lun_for_[cmd,tmr]
This patch checks the passed 'unpacked_lun' against TRANSPORT_MAX_LUNS_PER_TPG before reading from struct se_node_acl->device_list[]. Signed-off-by: NFubo Chen <fubo.chen@gmail.com> Signed-off-by: NNicholas A. Bellinger <nab@linux-iscsi.org>
Showing
想要评论请 注册 或 登录