Re: [patch v2] IB/hfi1: info leak in get_ctxt_info()

2015-09-18 Thread Doug Ledford
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 Carpenter Thanks, applied. -- Doug Ledford

[patch v2] IB/hfi1: info leak in get_ctxt_info()

2015-09-16 Thread Dan Carpenter
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