diff options
author | Sven Eckelmann <sven@narfation.org> | 2011-12-10 15:28:36 +0100 |
---|---|---|
committer | Marek Lindner <lindner_marek@yahoo.de> | 2011-12-12 19:11:07 +0800 |
commit | b5a1eeef04cc7859f34dec9b72ea1b28e4aba07c (patch) | |
tree | 4503055d16bbf2b05eac3adc6d04402bab8eba36 /drivers/pcmcia/sa1100_badge4.c | |
parent | d18eb45332478f319e5cf996e093228a68864cce (diff) | |
download | lwn-b5a1eeef04cc7859f34dec9b72ea1b28e4aba07c.tar.gz lwn-b5a1eeef04cc7859f34dec9b72ea1b28e4aba07c.zip |
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 'drivers/pcmcia/sa1100_badge4.c')
0 files changed, 0 insertions, 0 deletions