commit | a117dacde0288f3ec60b6e5bcedae8fa37ee0dfc | [log] [tgz] |
---|---|---|
author | Mathias Krause <minipli@googlemail.com> | Sun Jul 29 19:45:14 2012 +0000 |
committer | David S. Miller <davem@davemloft.net> | Sun Jul 29 23:18:31 2012 -0700 |
tree | c32e1dc90154dbd1ab9e694fee3fa810755b6403 | |
parent | cac83e53917ebc058066eb98023c11fdaa2262dc [diff] |
net/tun: fix ioctl() based info leaks The tun module leaks up to 36 bytes of memory by not fully initializing a structure located on the stack that gets copied to user memory by the TUNGETIFF and SIOCGIFHWADDR ioctl()s. Signed-off-by: Mathias Krause <minipli@googlemail.com> Signed-off-by: David S. Miller <davem@davemloft.net>