zephyr/subsys/bluetooth/mesh/shell
Pavel Vasilyev a16bcd291d Bluetooth: Mesh: Avoid NULL pointer dereference in shell utils
bt_mesh_elem_find can return NULL.
This also gets rid of VLA in bt_mesh_shell_mdl_print_all.

Coverity-CID: 321075
Fixes #59522

Signed-off-by: Pavel Vasilyev <pavel.vasilyev@nordicsemi.no>
2023-06-22 12:34:23 +02:00
..
blob.c Bluetooth: Mesh: Shell: Align parameter docs 2023-04-12 13:04:42 +02:00
blob.h Bluetooth: Mesh: DFU and BLOB models in shell 2023-03-06 13:52:15 +01:00
cfg.c Bluetooth: Mesh: refactor mesh to use both tinycrypt and psa based crypto 2023-06-17 07:46:03 -04:00
CMakeLists.txt tests: bluetooth: mesh: add Proxy Solicitation to shell 2023-03-06 13:52:15 +01:00
dfd.c Bluetooth: Mesh: Shell: Align parameter docs 2023-04-12 13:04:42 +02:00
dfu.c Bluetooth: Mesh: Shell: Align parameter docs 2023-04-12 13:04:42 +02:00
dfu.h Bluetooth: Mesh: DFU and BLOB models in shell 2023-03-06 13:52:15 +01:00
health.c Bluetooth: Mesh: Shell: Align parameter docs 2023-04-12 13:04:42 +02:00
Kconfig Bluetooth: Mesh: Add Opcodes Aggregator models to shell 2023-03-06 13:52:15 +01:00
large_comp_data.c Bluetooth: Mesh: Add async API for Large Comp Data Client 2023-04-24 13:31:27 +02:00
od_priv_proxy.c Bluetooth: Mesh: Shell: Align parameter docs 2023-04-12 13:04:42 +02:00
op_agg.c Bluetooth: Mesh: Shell: Align parameter docs 2023-04-12 13:04:42 +02:00
priv_beacon.c Bluetooth: Mesh: Shell: Align parameter docs 2023-04-12 13:04:42 +02:00
rpr.c Bluetooth: Mesh: Shell: Align parameter docs 2023-04-12 13:04:42 +02:00
sar.c Bluetooth: Mesh: Shell: Align parameter docs 2023-04-12 13:04:42 +02:00
shell.c Bluetooth: Mesh: refactor mesh to use both tinycrypt and psa based crypto 2023-06-17 07:46:03 -04:00
sol_pdu_rpl.c Bluetooth: Mesh: Shell: Align parameter docs 2023-04-12 13:04:42 +02:00
utils.c Bluetooth: Mesh: Avoid NULL pointer dereference in shell utils 2023-06-22 12:34:23 +02:00
utils.h shell: fix MISRA 5.7 violations on struct shell 2023-04-14 12:21:08 +02:00