summaryrefslogtreecommitdiff
path: root/drivers/misc/tsl2550.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2013-04-23 00:22:51 +0400
committerDavid S. Miller <davem@davemloft.net>2013-04-25 09:47:58 +0400
commit7a3b68434b1b5fb7b9a6184efb26822cd1a54cc8 (patch)
tree6b2e5cbcfca48b1229396fd19773386f7eefd62e /drivers/misc/tsl2550.c
parentfccc9f1fa878d9599aa583f0fec3bca95639667d (diff)
downloadlinux-7a3b68434b1b5fb7b9a6184efb26822cd1a54cc8.tar.xz
netrom: info leak in ->getname()
The sockaddr_ax25 struct has a 3 byte hole between ->sax25_call and ->sax25_ndigis. I've added a memset to avoid leaking uninitialized stack data to userspace. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Acked-by: Ralf Baechle <ralf@linux-mips.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/misc/tsl2550.c')
0 files changed, 0 insertions, 0 deletions