staging/bcm: two information leaks in ioctl
authorDan Carpenter <dan.carpenter@oracle.com>
Mon, 17 Feb 2014 19:56:06 +0000 (22:56 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 18 Feb 2014 19:18:09 +0000 (11:18 -0800)
commitcfff3e5c8d2139c38d40d90e3d9fc13721222076
tree70001ff7173b3ab8693167abb6e6c84490b4b89e
parent4e5e9d7c66f045558d5f70f640de0093fcd875e8
staging/bcm: two information leaks in ioctl

There are a couple paths where we don't check how much data we copy back
to the user.

Cc: Dave Jones <davej@redhat.com>
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/bcm/Bcmchar.c