batman-adv: Don't leak information through uninitialized packet fields
authorSven Eckelmann <sven@narfation.org>
Thu, 28 Jun 2012 09:56:52 +0000 (11:56 +0200)
committerAntonio Quartulli <ordex@autistici.org>
Sun, 1 Jul 2012 20:47:24 +0000 (22:47 +0200)
commit162d549c6905485262635fe594db337efb2828b5
tree85346674b2ff741ec9053470736ba2d034156190
parent0c5e45b63d22c6efa6f829c617d8f36688e53c5d
batman-adv: Don't leak information through uninitialized packet fields

The reserved fields in batman-adv packets are not set to a constant value. The
content of these memory regions is leaked unintentionally to the network.

This regression was introduced in 3b27ffb00fbe9d9189715ea13ce8712e2f0cb0c5

Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Antonio Quartulli <ordex@autistici.org>
net/batman-adv/soft-interface.c
net/batman-adv/translation-table.c
net/batman-adv/vis.c