Skip to content
Commit 02fa7be5 authored by Marcin Niestroj's avatar Marcin Niestroj Committed by Anas Nashif
Browse files

net: mqtt: check mqtt_abort() function parameters before locking



Function parameters can be checked without MQTT instance lock being
held. Additionally if NULL parameter would be passed (which this check
tries to handle), then function would return without releasing lock.

Signed-off-by: default avatarMarcin Niestroj <m.niestroj@emb.dev>
parent 6975d923
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment