In case CoAP packet does not carry payload, and the last option is zero-length, the option structure was not filled with data (opt number and length). Fix the length check to prevent this from happening. Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no> |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| coap_link_format.c | ||
| coap.c | ||
| Kconfig | ||