aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorSven Eckelmann <[email protected]>2015-11-29 01:48:57 +0100
committerAntonio Quartulli <[email protected]>2016-01-07 14:24:05 +0800
commit13bbdd370f67aef3351ad7bbc2fb624e3c23f905 (patch)
treeacd51cfcb64861c0a2e6c67e85eabeab0db36fea /tools/perf/scripts/python/call-graph-from-postgresql.py
parent51cb67c0b0fcb91581b15bd2e85f29af4d4b2df6 (diff)
batman-adv: Fix invalid read while copying bat_iv.bcast_own
batadv_iv_ogm_orig_del_if removes a part of the bcast_own which previously belonged to the now removed interface. This is done by copying all data which comes before the removed interface and then appending all the data which comes after the removed interface. The address calculation for the position of the data which comes after the removed interface assumed that the bat_iv.bcast_own is a pointer to a single byte datatype. But it is a pointer to unsigned long and thus the calculated position was wrong off factor sizeof(unsigned long). Fixes: 83a8342678a0 ("more basic routing code added (forwarding packets / bitarray added)") Signed-off-by: Sven Eckelmann <[email protected]> Signed-off-by: Marek Lindner <[email protected]> Signed-off-by: Antonio Quartulli <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions