commit | c5cfb462f9a4d9f5a03247ab88e80ed155cba885 | [log] [tgz] |
---|---|---|
author | Johann Fischer <j.fischer@phytec.de> | Thu May 24 15:12:54 2018 +0200 |
committer | Anas Nashif <anas.nashif@intel.com> | Fri May 25 09:03:34 2018 -0400 |
tree | 82e7f6d91403b66d594fc77f7b87636a66b47b1b | |
parent | c4b0f1c5b451bc6a0cc3c2d13950383b45e37469 [diff] |
net: rpl: fix null pointer dereference This patch fixes possible null pointer dereference in net_stats_update_rpl_resets(...). net_rpl_set_root_with_version(...) does not initialize instance->iface and calls net_rpl_reset_dio_timer(...), which then calls net_stats_update_rpl_resets(instance->iface). fixes: #7862 Signed-off-by: Johann Fischer <j.fischer@phytec.de>