kmodloader: fix NULL pointer deref in case m->depends is missing
authorFelix Fietkau <nbd@openwrt.org>
Mon, 7 Mar 2016 16:34:31 +0000 (17:34 +0100)
committerFelix Fietkau <nbd@openwrt.org>
Mon, 7 Mar 2016 16:34:32 +0000 (17:34 +0100)
commitfd4bb41ee7ab136d25609c2a917beea5d52b723b
treeb5d4f748242dbc78097fc0d1e8e9ff543ac3cc4f
parent5a2d469ab30b73536c920a2a69c7fdf0d2c1a359
kmodloader: fix NULL pointer deref in case m->depends is missing

Observed on an invalid module

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
kmodloader.c