Files
linux/net
Aditya Pakki 6fc232db9e rfkill: Fix incorrect check to avoid NULL pointer dereference
In rfkill_register, the struct rfkill pointer is first derefernced
and then checked for NULL. This patch removes the BUG_ON and returns
an error to the caller in case rfkill is NULL.

Signed-off-by: Aditya Pakki <pakki001@umn.edu>
Link: https://lore.kernel.org/r/20191215153409.21696-1-pakki001@umn.edu
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2019-12-16 10:15:49 +01:00
..
2019-11-18 19:32:59 -08:00
2019-09-26 08:56:17 +02:00
2019-11-26 14:40:13 -08:00
2019-12-09 10:28:43 -08:00
2019-11-24 16:58:44 -08:00