Skip to content

Commit 2bfaadf

Browse files
cvinayaknashif
authored andcommitted
Bluetooth: controller: Add Tx fragmentation assertion
Added Tx fragmentation implementation assertion to check invalid offset use due to any memory corruptions. Signed-off-by: Vinayak Kariappa Chettimada <[email protected]>
1 parent 938fca2 commit 2bfaadf

File tree

1 file changed

+2
-0
lines changed
  • subsys/bluetooth/controller/ll_sw/nordic/lll

1 file changed

+2
-0
lines changed

subsys/bluetooth/controller/ll_sw/nordic/lll/lll_conn.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -755,6 +755,8 @@ static inline int isr_rx_pdu(struct lll_conn *lll, struct pdu_data *pdu_data_rx,
755755
*tx_release = tx;
756756

757757
FORCE_MD_CNT_SET();
758+
} else {
759+
LL_ASSERT(0);
758760
}
759761

760762
if (IS_ENABLED(CONFIG_BT_CENTRAL) && !lll->role &&

0 commit comments

Comments
 (0)