isdn: mISDN: socket: fix information leak to userland
authorKulikov Vasiliy <segooon@gmail.com>
Fri, 29 Oct 2010 23:04:33 +0000 (23:04 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 30 Oct 2010 23:49:38 +0000 (16:49 -0700)
commitce384d91cd7a4269a1ed5d4307a70aa4c6fa14f2
treedad07ece7f32cfa73cfe3bf4e31f04c9a4b9a5ef
parent3e9ebd3cf48d9181e0931c6fd8f1a7dc4d6cb27c
isdn: mISDN: socket: fix information leak to userland

Structure mISDN_devinfo is copied to userland with the field "name"
that has the last elements unitialized.  It leads to leaking of
contents of kernel stack memory.

Signed-off-by: Vasiliy Kulikov <segooon@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/isdn/mISDN/socket.c