diff options
author | Marek Lindner <lindner_marek@yahoo.de> | 2013-04-27 10:22:28 +0200 |
---|---|---|
committer | Antonio Quartulli <ordex@autistici.org> | 2013-05-09 12:39:44 +0200 |
commit | 293c9c1cef6be46ad72b528fa79c3ff034551fe0 (patch) | |
tree | 2ecf02ef21613e3a69cb0ebf333ad1ba8ff68665 /kernel/jump_label.c | |
parent | if_cablemodem.h: Add parenthesis around ioctl macros (diff) | |
download | linux-293c9c1cef6be46ad72b528fa79c3ff034551fe0.tar.xz linux-293c9c1cef6be46ad72b528fa79c3ff034551fe0.zip |
batman-adv: check proto length before accessing proto string buffer
batadv_param_set_ra() strips the trailing '\n' from the supplied
string buffer without checking the length of the buffer first. This
patches avoids random memory access and associated potential
crashes.
Reported-by: Sasha Levin <sasha.levin@oracle.com>
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Signed-off-by: Antonio Quartulli <ordex@autistici.org>
Diffstat (limited to 'kernel/jump_label.c')
0 files changed, 0 insertions, 0 deletions