diff options
author | Marek Lindner <[email protected]> | 2014-04-24 03:44:25 +0800 |
---|---|---|
committer | Antonio Quartulli <[email protected]> | 2014-05-15 20:03:16 +0200 |
commit | 16a4142363b11952d3aa76ac78004502c0c2fe6e (patch) | |
tree | 25f87cddc1fc4d1ac36fc28fe7f33959335d40e7 /fs/jbd2/commit.c | |
parent | e84d2f8d2ae33c8215429824e1ecf24cbca9645e (diff) |
batman-adv: fix indirect hard_iface NULL dereference
If hard_iface is NULL and goto out is made batadv_hardif_free_ref()
doesn't check for NULL before dereferencing it to get to refcount.
Introduced in cb1c92ec37fb70543d133a1fa7d9b54d6f8a1ecd
("batman-adv: add debugfs support to view multiif tables").
Reported-by: Sven Eckelmann <[email protected]>
Signed-off-by: Marek Lindner <[email protected]>
Acked-by: Antonio Quartulli <[email protected]>
Signed-off-by: Antonio Quartulli <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions