diff options
| author | 2011-12-10 15:28:36 +0100 | |
|---|---|---|
| committer | 2011-12-12 19:11:07 +0800 | |
| commit | b5a1eeef04cc7859f34dec9b72ea1b28e4aba07c (patch) | |
| tree | 4503055d16bbf2b05eac3adc6d04402bab8eba36 /include/linux/input | |
| parent | batman-adv: Directly check read of icmp packet in copy_from_user (diff) | |
batman-adv: Only write requested number of byte to user buffer
Don't write more than the requested number of bytes of an batman-adv icmp
packet to the userspace buffer. Otherwise unrelated userspace memory might get
overridden by the kernel.
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Diffstat (limited to 'include/linux/input')
0 files changed, 0 insertions, 0 deletions
