diff options
author | Sven Eckelmann <[email protected]> | 2016-07-02 09:52:13 +0200 |
---|---|---|
committer | Simon Wunderlich <[email protected]> | 2016-07-05 12:40:01 +0200 |
commit | 10c78f5854d361ded4736c1831948e0a5f67b932 (patch) | |
tree | ab2abbe8074f82ec9de01105ce58514aa06cb7c1 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 5b4d10f5e0369ed79434593b7cd8e85eebbe473f (diff) |
batman-adv: Avoid nullptr dereference in bla after vlan_insert_tag
vlan_insert_tag can return NULL on errors. The bridge loop avoidance code
therefore has to check the return value of vlan_insert_tag for NULL before
it can safely operate on this pointer.
Fixes: 23721387c409 ("batman-adv: add basic bridge loop avoidance code")
Signed-off-by: Sven Eckelmann <[email protected]>
Signed-off-by: Marek Lindner <[email protected]>
Signed-off-by: Simon Wunderlich <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions