Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion subsys/bluetooth/mesh/pb_adv.c
Original file line number Diff line number Diff line change
Expand Up @@ -515,7 +515,7 @@ static void gen_prov_cont(struct prov_rx *rx, struct net_buf_simple *buf)
return;
}

if (seg > link.rx.last_seg) {
if (seg > link.rx.last_seg || seg == 0) {
LOG_ERR("Invalid segment index %u", seg);
prov_failed(PROV_ERR_NVAL_FMT);
return;
Expand Down
Loading