Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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>
- Loading branch information