commit | b5a1eeef04cc7859f34dec9b72ea1b28e4aba07c | [log] [tgz] |
---|---|---|
author | Sven Eckelmann <sven@narfation.org> | Sat Dec 10 15:28:36 2011 +0100 |
committer | Marek Lindner <lindner_marek@yahoo.de> | Mon Dec 12 19:11:07 2011 +0800 |
tree | 4503055d16bbf2b05eac3adc6d04402bab8eba36 | |
parent | d18eb45332478f319e5cf996e093228a68864cce [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>