]> git.baikalelectronics.ru Git - kernel.git/commit
batman-adv: check for tt_reponse packet real length
authorAntonio Quartulli <ordex@autistici.org>
Sun, 16 Oct 2011 18:32:03 +0000 (20:32 +0200)
committerSven Eckelmann <sven@narfation.org>
Sun, 20 Nov 2011 12:08:34 +0000 (13:08 +0100)
commitac14f826b717c8f228580474b03acee6e9c340e3
tree5e6790ae621aad9fda859fcb39aa626dcfb8bb4d
parentcd654b6263c0eeac34657f3c4e3c61799a0eb5ea
batman-adv: check for tt_reponse packet real length

Before accessing the TT_RESPONSE packet payload, the node has to ensure that the
packet is long enough as it would expect to be.

Reported-by: Simon Wunderlich <siwu@hrz.tu-chemnitz.de>
Signed-off-by: Antonio Quartulli <ordex@autistici.org>
Signed-off-by: Sven Eckelmann <sven@narfation.org>
net/batman-adv/routing.c