OSDN Git Service

staging: lustre: info leak in lnet_ping()
authorDan Carpenter <dan.carpenter@oracle.com>
Sat, 3 May 2014 20:23:29 +0000 (23:23 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 16 May 2014 23:10:41 +0000 (16:10 -0700)
commit751a624adbe47145d3667c4b504858ffd3e8f175
tree4178a878354aa88f07560f6e60e95b995adb8964
parentfea0683ebe7f642528c186109f928f9467e0c37e
staging: lustre: info leak in lnet_ping()

On 64 bit systems there is a 4 byte hole after the last member of the
struct.  We should clear it to avoid disclosing stack information.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lnet/lnet/api-ni.c