diff options
author | Sven Eckelmann <sven@narfation.org> | 2011-12-10 18:28:36 +0400 |
---|---|---|
committer | Marek Lindner <lindner_marek@yahoo.de> | 2011-12-12 15:11:07 +0400 |
commit | b5a1eeef04cc7859f34dec9b72ea1b28e4aba07c (patch) | |
tree | 4503055d16bbf2b05eac3adc6d04402bab8eba36 /drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c | |
parent | d18eb45332478f319e5cf996e093228a68864cce (diff) | |
download | linux-b5a1eeef04cc7859f34dec9b72ea1b28e4aba07c.tar.xz |
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/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c')
0 files changed, 0 insertions, 0 deletions