]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
IB/hfi1: info leak in get_ctxt_info()
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 16 Sep 2015 06:42:25 +0000 (09:42 +0300)
committerDoug Ledford <dledford@redhat.com>
Fri, 18 Sep 2015 15:28:47 +0000 (11:28 -0400)
commitebe6b2e8bc2cd06a330b3f9be8a4fa3ff44ab026
treedfaa59fdfe4d7dd08185c7eb0151157e2ea3da58
parent951842b0540d2ed49ae29ba968adc496baf46556
IB/hfi1: info leak in get_ctxt_info()

The cinfo struct has a hole after the last struct member so we need to
zero it out.  Otherwise we disclose some uninitialized stack data.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/staging/rdma/hfi1/file_ops.c