RE: [PATCH 2/4] batman-adv: fix kernel crash due to missing NULL checks

2015-08-12 Thread David Laight
From: Antonio Quartulli Sent: 11 August 2015 17:43 On 05/08/15 15:15, David Laight wrote: So is this test just hiding anoter bug somewhere?? Hi David and thanks for your feedback. The point is that we got several bug reports of kernel crashes due to NULL pointer deferences in these

RE: [PATCH 2/4] batman-adv: fix kernel crash due to missing NULL checks

2015-08-05 Thread David Laight
From: Of Antonio Quartulli Sent: 05 August 2015 13:52 From: Marek Lindner mareklind...@neomailbox.ch batadv_softif_vlan_get() may return NULL which has to be verified by the caller. ... diff --git a/net/batman-adv/soft-interface.c b/net/batman-adv/soft-interface.c index c002961..a2fc843