Skip to content
Commit 0b92327f authored by Sachin D Kulkarni's avatar Sachin D Kulkarni Committed by Carles Cufí
Browse files

net: wifi: Fix crash in wifi_utils_parse_scan_bands



wifi_utils_parse_scan_bands could cause a crash if a constant string is
passed to it. Fix this by duplicating the input string parameter before
parsing it with strtok_r.

Signed-off-by: default avatarSachin D Kulkarni <sachin.kulkarni@nordicsemi.no>
parent e4871494
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment