Re: [patch v2] IB/hfi1: info leak in get_ctxt_info()
On 09/16/2015 02:42 AM, Dan Carpenter wrote: > 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 CarpenterThanks, applied. -- Doug Ledford
[patch v2] 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--- v2: typo in changelog diff --git a/drivers/staging/rdma/hfi1/file_ops.c