diff options
author | Mathias Krause <minipli@googlemail.com> | 2013-10-01 00:03:06 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-10-03 00:03:50 +0400 |
commit | e727ca82e0e9616ab4844301e6bae60ca7327682 (patch) | |
tree | f9e161f1ec2cba611a40603b3b9c4d5244930bab /drivers/connector/connector.c | |
parent | c31eeaced22ce8bd61268a3c595d542bb38c0a4f (diff) | |
download | linux-e727ca82e0e9616ab4844301e6bae60ca7327682.tar.xz |
proc connector: fix info leaks
Initialize event_data for all possible message types to prevent leaking
kernel stack contents to userland (up to 20 bytes). Also set the flags
member of the connector message to 0 to prevent leaking two more stack
bytes this way.
Cc: stable@vger.kernel.org # v2.6.15+
Signed-off-by: Mathias Krause <minipli@googlemail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/connector/connector.c')
0 files changed, 0 insertions, 0 deletions