]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit204792a79d94438f69f498956424dc1e53e64b42
tree85346674b2ff741ec9053470736ba2d034156190
parent9fb238ce4a239558fe5680ca7a576df9eeccbd51
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 16589ec28508fe0c090e896477711607ff2da288

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