Skip to content
Commit c5cfb462 authored by Johann Fischer's avatar Johann Fischer Committed by Anas Nashif
Browse files

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: default avatarJohann Fischer <j.fischer@phytec.de>
parent c4b0f1c5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment