zephyr/subsys/bluetooth/mesh
Trond Einar Snekvik 2bd5b63dfd Bluetooth: Mesh: Verify network buffer max len
As network_decode needs a target buffer for decoding, the max PDU length
must be checked to prevent overflow on the target buffer. When receiving
a proxy configuration message with excessive length, there's no previous
check for this.

Also pulls the NET PDU length defines out into net.h, so they can be
used when defining the target buffers.

Signed-off-by: Trond Einar Snekvik <Trond.Einar.Snekvik@nordicsemi.no>
2021-02-03 13:12:09 -05:00
..
access.c Bluetooth: Mesh: Break up mesh settings 2021-01-14 16:38:50 +02:00
access.h Bluetooth: Mesh: Break up mesh settings 2021-01-14 16:38:50 +02:00
adv_ext.c Bluetooth: Mesh: Extended advertising support 2020-12-09 12:57:59 +02:00
adv_legacy.c Bluetooth: Mesh: Extended advertising support 2020-12-09 12:57:59 +02:00
adv.c Bluetooth: Mesh: Extended advertising support 2020-12-09 12:57:59 +02:00
adv.h Bluetooth: Mesh: Extended advertising support 2020-12-09 12:57:59 +02:00
app_keys.c Bluetooth: Mesh: Break up mesh settings 2021-01-14 16:38:50 +02:00
app_keys.h Bluetooth: Mesh: Break up mesh settings 2021-01-14 16:38:50 +02:00
beacon.c bluetooth: mesh: avoid improper access to internal structures 2020-11-24 13:04:48 +02:00
beacon.h Bluetooth: Mesh: Isolate cryptographic material 2020-10-22 14:36:02 +03:00
cdb.c Bluetooth: Mesh: Break up mesh settings 2021-01-14 16:38:50 +02:00
cdb.h Bluetooth: Mesh: Break up mesh settings 2021-01-14 16:38:50 +02:00
cfg_cli.c Bluetooth: Mesh: Fix fix mod_sub_get_vnd 2021-02-01 08:38:24 -05:00
cfg_srv.c Bluetooth: Mesh: Break up mesh settings 2021-01-14 16:38:50 +02:00
cfg.c Bluetooth: Mesh: Break up mesh settings 2021-01-14 16:38:50 +02:00
cfg.h Bluetooth: Mesh: Break up mesh settings 2021-01-14 16:38:50 +02:00
CMakeLists.txt Bluetooth: Mesh: Extended advertising support 2020-12-09 12:57:59 +02:00
crypto.c Bluetooth: Mesh: Isolate cryptographic material 2020-10-22 14:36:02 +03:00
crypto.h Bluetooth: Mesh: Isolate cryptographic material 2020-10-22 14:36:02 +03:00
foundation.h Bluetooth: Mesh: Encapsulate feature config 2020-11-09 11:23:34 +02:00
friend.c Bluetooth: Mesh: Fix friendship counter increasing order 2021-01-15 11:36:48 -05:00
friend.h Bluetooth: Mesh: Isolate cryptographic material 2020-10-22 14:36:02 +03:00
health_cli.c
health_srv.c
heartbeat.c Bluetooth: Mesh: Break up mesh settings 2021-01-14 16:38:50 +02:00
heartbeat.h Bluetooth: Mesh: Break up mesh settings 2021-01-14 16:38:50 +02:00
Kconfig Bluetooth: Mesh: Break up mesh settings 2021-01-14 16:38:50 +02:00
lpn.c Bluetooth: Mesh: Fix friendship counter increasing order 2021-01-15 11:36:48 -05:00
lpn.h
main.c Bluetooth: Mesh: Break up mesh settings 2021-01-14 16:38:50 +02:00
mesh.h Bluetooth: Mesh: Make address defines public 2020-12-12 14:15:47 +02:00
net.c Bluetooth: Mesh: Verify network buffer max len 2021-02-03 13:12:09 -05:00
net.h Bluetooth: Mesh: Verify network buffer max len 2021-02-03 13:12:09 -05:00
pb_adv.c Bluetooth: Mesh: Extended advertising support 2020-12-09 12:57:59 +02:00
pb_gatt.c Bluetooth: Mesh: split prov.c into two separate modules 2020-10-28 12:53:09 +02:00
prov_bearer.h mesh: Add reset link functionality to provisioning bearers 2020-07-02 16:30:01 +03:00
prov_device.c Bluetooth: Mesh: split prov.c into two separate modules 2020-10-28 12:53:09 +02:00
prov.c Bluetooth: Mesh: Fixes prov string log dump 2020-11-19 13:28:28 +02:00
prov.h Bluetooth: Mesh: Fixes wrong prov pointer clear 2020-11-19 13:28:28 +02:00
provisioner.c Bluetooth: Mesh: Break up mesh settings 2021-01-14 16:38:50 +02:00
provisioner.h Bluetooth: Mesh: split prov.c into two separate modules 2020-10-28 12:53:09 +02:00
proxy.c Bluetooth: Mesh: Verify network buffer max len 2021-02-03 13:12:09 -05:00
proxy.h Bluetooth: Mesh: Extended advertising support 2020-12-09 12:57:59 +02:00
rpl.c Bluetooth: Mesh: Break up mesh settings 2021-01-14 16:38:50 +02:00
rpl.h Bluetooth: Mesh: Break up mesh settings 2021-01-14 16:38:50 +02:00
settings.c Bluetooth: Mesh: Break up mesh settings 2021-01-14 16:38:50 +02:00
settings.h Bluetooth: Mesh: Break up mesh settings 2021-01-14 16:38:50 +02:00
shell.c Bluetooth: Mesh: Break up mesh settings 2021-01-14 16:38:50 +02:00
subnet.c Bluetooth: Mesh: Break up mesh settings 2021-01-14 16:38:50 +02:00
subnet.h Bluetooth: Mesh: Break up mesh settings 2021-01-14 16:38:50 +02:00
test.c
test.h
TODO
transport.c Bluetooth: Mesh: Break up mesh settings 2021-01-14 16:38:50 +02:00
transport.h Bluetooth: Mesh: Break up mesh settings 2021-01-14 16:38:50 +02:00