summaryrefslogtreecommitdiffstats
path: root/net/phonet/pep.c
diff options
context:
space:
mode:
authorMarek Lindner <lindner_marek@yahoo.de>2013-03-04 10:39:49 +0800
committerAntonio Quartulli <ordex@autistici.org>2013-03-11 22:59:47 +0100
commitb47506d91259c29b9c75c404737eb6525556f9b4 (patch)
treec23e5fb025c23fc7a19a0c5fdf4fdcd411596a9f /net/phonet/pep.c
parent7c6baa304b841673d3a55ea4fcf9a5cbf7a1674b (diff)
downloadlinux-b47506d91259c29b9c75c404737eb6525556f9b4.tar.gz
linux-b47506d91259c29b9c75c404737eb6525556f9b4.tar.bz2
linux-b47506d91259c29b9c75c404737eb6525556f9b4.zip
batman-adv: verify tt len does not exceed packet len
batadv_iv_ogm_process() accesses the packet using the tt_num_changes attribute regardless of the real packet len (assuming the length check was done before). Therefore a length check is needed to avoid reading random memory. Signed-off-by: Marek Lindner <lindner_marek@yahoo.de> Signed-off-by: Antonio Quartulli <ordex@autistici.org>
Diffstat (limited to 'net/phonet/pep.c')
0 files changed, 0 insertions, 0 deletions