summaryrefslogtreecommitdiff
path: root/lib/xxhash.c
diff options
context:
space:
mode:
authorSven Eckelmann <sven@narfation.org>2018-08-31 16:08:44 +0300
committerSimon Wunderlich <sw@simonwunderlich.de>2018-09-06 14:54:47 +0300
commit88d0895d0ea9d4431507d576c963f2ff9918144d (patch)
treeec67313b339dae7cdc376dcc3659ae8095b654f5 /lib/xxhash.c
parent5b394b2ddf0347bef56e50c69a58773c94343ff3 (diff)
downloadlinux-88d0895d0ea9d4431507d576c963f2ff9918144d.tar.xz
batman-adv: Avoid probe ELP information leak
The probe ELPs for WiFi interfaces are expanded to contain at least BATADV_ELP_MIN_PROBE_SIZE bytes. This is usually a lot more than the number of bytes which the template ELP packet requires. These extra padding bytes were not initialized and thus could contain data which were previously stored at the same location. It is therefore required to set it to some predefined or random values to avoid leaking private information from the system transmitting these kind of packets. Fixes: e4623c913508 ("batman-adv: Avoid probe ELP information leak") Signed-off-by: Sven Eckelmann <sven@narfation.org> Acked-by: Antonio Quartulli <a@unstable.cc> Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
Diffstat (limited to 'lib/xxhash.c')
0 files changed, 0 insertions, 0 deletions