Skip to content
Commit bba2d7b8 authored by Trond Einar Snekvik's avatar Trond Einar Snekvik Committed by Anas Nashif
Browse files

Bluetooth: Mesh: Check model publish pointer before dereferencing



Moves the if !(pub) check to happen before it gets used in the
initialization of the message context in bt_mesh_model_publish.

Fixes #5116.

Signed-off-by: default avatarTrond Einar Snekvik <Trond.Einar.Snekvik@nordicsemi.no>
parent 7039675d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment