Commit Graph

5 Commits (1768ad9e5f686e534c751fb4453bc4fd64466e8c)

Author SHA1 Message Date
Mingjie Shen 378f2f579d Fix null pointer dereferencing
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.
2023-04-20 00:54:47 -04:00
Arto Kinnunen 51247bfc10 Squashed 'connectivity/nanostack/coap-service/' changes from 4a126bd278..bbe01736bd
bbe01736bd (via Mbed OS) mbedtls_stub: Add missing include (#134)
c021690e3a Update copyright to Makefiles and scripts (#133)
5fb7a6c3b8 Update copyright (#132)

git-subtree-dir: connectivity/nanostack/coap-service
git-subtree-split: bbe01736bdafc808ee61c500223d0cf67953238d
2021-06-28 09:38:14 +03:00
Arto Kinnunen a13d6ab0f3 Merge commit 'aad453e0ac69b9de3b3e218c21a423bebd506174'
* commit 'aad453e0ac69b9de3b3e218c21a423bebd506174':
  Squashed 'connectivity/nanostack/coap-service/' changes from 5aa54b8e62..4a126bd278
2021-01-19 11:52:43 +02:00
Abbas Bracken Ziad 3e6cf78d6d Remove call to function-like macro with no effect 2020-11-11 14:23:42 +00:00
Ashok Rao b9b4c5d392 Mbed OS will soon be changing directory structure to the below:
```
connectivity
├── netsocket
├── lwipstack
├── nanostack
│   ├── mbed_lib.json // nanostack-interface's mbed_lib.json
│   ├── include
│   │   └── nanostack // headers from features/netsocket/nanostack-interface
│   ├── source        // sources from features/netsocket/nanostack-interface
│   ├── coap-service  // used by Thread only - deprecate?
│   ├── mbed-mesh-api
│   ├── nanostack-hal-mbed-cmsis-rtos // HAL porting layer for Nanostack on mbed with CMSIS-RTOS
│   ├── sal-stack-nanostack
│   └── sal-stack-nanostack-eventloop
├── cellular                // previously in features/cellular/framework/
├── ...

```

This PR is a part of a wider \connectivity refactoring and implements the above new directory structure for \nanostack.
2020-08-05 16:55:43 +01:00