summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorSalva Peiró <speirofr@gmail.com>2015-10-14 17:48:02 +0200
committerJiri Slaby <jslaby@suse.cz>2016-01-15 09:31:27 +0100
commit39c9944afb08c26ff36ae1967497d44fcf5a87ed (patch)
treee9c3342783d7e5ba38b9e5559383766cba37240b /arch
parent1bf7e534ba65babb46a3d7f3cd9b3bdf41c27a4a (diff)
downloadlwn-39c9944afb08c26ff36ae1967497d44fcf5a87ed.tar.gz
lwn-39c9944afb08c26ff36ae1967497d44fcf5a87ed.zip
staging/dgnc: fix info leak in ioctl
commit 4b6184336ebb5c8dc1eae7f7ab46ee608a748b05 upstream. The dgnc_mgmt_ioctl() code fails to initialize the 16 _reserved bytes of struct digi_dinfo after the ->dinfo_nboards member. Add an explicit memset(0) before filling the structure to avoid the info leak. Signed-off-by: Salva Peiró <speirofr@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: Yuki Machida <machida.yuki@jp.fujitsu.com> Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions