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:
Sachin D Kulkarni <sachin.kulkarni@nordicsemi.no>
Loading
Please sign in to comment