Repository navigation
Commit 9571dbe
committed
fix: validate dynamic endpoint index in bridge sample
Reject invalid indices and null device entries to prevent a null-pointer
dereference while handling attribute reads.
Signed-off-by: Dominik Michalczyk <dominik.michalczyk@nordicsemi.no>1 parent 2abed78 commit 9571dbe
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
381 | 381 | | |
382 | 382 | | |
383 | 383 | | |
| 384 | + | |
384 | 385 | | |
385 | 386 | | |
386 | 387 | | |
387 | 388 | | |
| 389 | + | |
| 390 | + | |
388 | 391 | | |
389 | 392 | | |
390 | 393 | | |
| |||
0 commit comments