mbed-os/features/lorawan/lorastack/phy
Hasnain Virk 726eff9305 Proper size checking for link ADR commands
In a specific branch path 'adr_settings' in link_adr_request() API, the
structure adr_settings of type link_adr_params_t will be rendered
uninitialized. To prevent this we initialize the construct as zero.
In addition to that, to handle the case properly we should check for the
command identifier and the command payload length anticipating contiguous
blocks of adr commands. If we find a discrepency in size, we should
abort.
2019-02-14 17:15:42 +02:00
..
LoRaPHY.cpp Proper size checking for link ADR commands 2019-02-14 17:15:42 +02:00
LoRaPHY.h Proper size checking for link ADR commands 2019-02-14 17:15:42 +02:00
LoRaPHYAS923.cpp lorawan: fix astyle coding style 2018-11-07 08:56:36 +00:00
LoRaPHYAS923.h lorawan: fix astyle coding style 2018-11-07 08:56:36 +00:00
LoRaPHYAU915.cpp Proper size checking for link ADR commands 2019-02-14 17:15:42 +02:00
LoRaPHYAU915.h lorawan: fix astyle coding style 2018-11-07 08:56:36 +00:00
LoRaPHYCN470.cpp Proper size checking for link ADR commands 2019-02-14 17:15:42 +02:00
LoRaPHYCN470.h lorawan: fix astyle coding style 2018-11-07 08:56:36 +00:00
LoRaPHYCN779.cpp lorawan: fix astyle coding style 2018-11-07 08:56:36 +00:00
LoRaPHYCN779.h Lora: Add initialize() method to set LoRaWANTimeHandler class for phy 2018-07-06 10:04:44 +03:00
LoRaPHYEU433.cpp lorawan: fix astyle coding style 2018-11-07 08:56:36 +00:00
LoRaPHYEU433.h Lora: Add initialize() method to set LoRaWANTimeHandler class for phy 2018-07-06 10:04:44 +03:00
LoRaPHYEU868.cpp lorawan: fix astyle coding style 2018-11-07 08:56:36 +00:00
LoRaPHYEU868.h Lora: Add initialize() method to set LoRaWANTimeHandler class for phy 2018-07-06 10:04:44 +03:00
LoRaPHYIN865.cpp lorawan: fix astyle coding style 2018-11-07 08:56:36 +00:00
LoRaPHYIN865.h lorawan: fix astyle coding style 2018-11-07 08:56:36 +00:00
LoRaPHYKR920.cpp lorawan: fix astyle coding style 2018-11-07 08:56:36 +00:00
LoRaPHYKR920.h lorawan: fix astyle coding style 2018-11-07 08:56:36 +00:00
LoRaPHYUS915.cpp Proper size checking for link ADR commands 2019-02-14 17:15:42 +02:00
LoRaPHYUS915.h lorawan: fix astyle coding style 2018-11-07 08:56:36 +00:00
lora_phy_ds.h lorawan: fix astyle coding style 2018-11-07 08:56:36 +00:00
loraphy_target.h lorawan: fix astyle coding style 2018-11-07 08:56:36 +00:00