]> 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)
commit10816f3deabba967b356fd8e1e149601e9fb2bdf
tree5e6790ae621aad9fda859fcb39aa626dcfb8bb4d
parent1e48c34d318b57447f618cff2a7a597bb47c072f
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