mirror of https://github.com/ARMmbed/mbed-os.git
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. |
||
---|---|---|
.. | ||
LoRaMac.cpp | ||
LoRaMac.h | ||
LoRaMacChannelPlan.cpp | ||
LoRaMacChannelPlan.h | ||
LoRaMacCommand.cpp | ||
LoRaMacCommand.h | ||
LoRaMacCrypto.cpp | ||
LoRaMacCrypto.h |