Skip to content
Commit c6aa9e38 authored by Jukka Rissanen's avatar Jukka Rissanen Committed by Anas Nashif
Browse files

wifi: shell: btm_query: Fix invalid pointer cast



The 11v_btm_query shell command was calling parse_number() using
a pointer to uint8_t. This will cause memory overwrite and possible
crash. Convert to use long temporary value to avoid this.

Fix also the output prints in case of an error.

Signed-off-by: default avatarJukka Rissanen <jukka.rissanen@nordicsemi.no>
parent 8105f70d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment