diff options
author | Mathias Krause <minipli@googlemail.com> | 2013-09-30 22:03:06 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-10-02 22:03:50 +0200 |
commit | e727ca82e0e9616ab4844301e6bae60ca7327682 (patch) | |
tree | f9e161f1ec2cba611a40603b3b9c4d5244930bab /drivers/connector/connector.c | |
parent | Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net (diff) | |
download | linux-e727ca82e0e9616ab4844301e6bae60ca7327682.tar.xz linux-e727ca82e0e9616ab4844301e6bae60ca7327682.zip |
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