aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2019-04-30 13:35:05 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-04-30 14:19:04 +0200
commitd687bdefba270c11df0234b3285cd50d60de284b (patch)
tree4681586615e195bb745752eee0cf938b2b3b856e /drivers/mmc
parentstaging: kpc2000_spi: eliminated duplicate initialization of master local variable. (diff)
downloadlinux-dev-d687bdefba270c11df0234b3285cd50d60de284b.tar.xz
linux-dev-d687bdefba270c11df0234b3285cd50d60de284b.zip
staging: kpc2000: Fix a stack information leak in kp2000_cdev_ioctl()
The kp2000_regs struct has a 4 byte hole between ->hw_rev and ->ssid so this could leak stack information to the user. This patch just memsets the whole struct to zero. Fixes: 7dc7967fc39a ("staging: kpc2000: add initial set of Daktronics drivers") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/mmc')
0 files changed, 0 insertions, 0 deletions