git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e84d2f8
)
batman-adv: fix indirect hard_iface NULL dereference
author
Marek Lindner
<mareklindner@neomailbox.ch>
Wed, 23 Apr 2014 19:44:25 +0000
(
03:44
+0800)
committer
Antonio Quartulli
<antonio@meshcoding.com>
Thu, 15 May 2014 18:03:16 +0000
(20:03 +0200)
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 <sven@narfation.org>
Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
Acked-by: Antonio Quartulli <antonio@meshcoding.com>
Signed-off-by: Antonio Quartulli <antonio@meshcoding.com>
net/batman-adv/originator.c
patch
|
blob
|
history
diff --cc
net/batman-adv/originator.c
Simple merge