mirror of https://github.com/ARMmbed/mbed-os.git
Add null check for return values of functions that are mostly (but not always) checked for null. E.g., since 98% of calls to protocol_stack_interface_info_get_by_id check for null, it is likely that the function can return null values in some cases, and omitting the check could crash the program. |
||
---|---|---|
.. | ||
coap-service | ||
include/nanostack-interface | ||
mbed-mesh-api | ||
nanostack-hal-mbed-cmsis-rtos | ||
sal-stack-nanostack | ||
sal-stack-nanostack-eventloop | ||
source | ||
CMakeLists.txt | ||
CONTRIBUTING.md | ||
mbed_lib.json |