1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-25 22:43:50 +01:00
Maciej Jurczak edf016a6cb nanocoap: Added token length validation.
Implemented a check in coap_parse() to verify if TKL value is within valid range as specified by RFC7252. The token length must be within 0-8 range, any other value should be considered as invalid and the packet should produce message format error.
A test case was added to tests-nanocoap.c to verify correct behavior in case of TKL in range and out of range.

Update sys/net/application_layer/nanocoap/nanocoap.c

Prefixed debug message with module name and abbreviations expanded.

Co-authored-by: Martine Lenders <mail@martine-lenders.eu>

Update sys/net/application_layer/nanocoap/nanocoap.c

Prefixed debug message with module name and abbreviations expanded.

Co-authored-by: Martine Lenders <mail@martine-lenders.eu>
2020-05-25 22:44:50 +02:00
..
2019-11-23 22:39:07 +01:00
2019-11-23 22:39:37 +01:00
2020-03-24 10:39:49 +01:00
2019-11-23 22:39:07 +01:00
2019-03-26 21:56:05 +01:00
2017-05-24 17:54:02 +02:00
2019-11-23 22:39:37 +01:00
2019-01-10 18:07:29 +01:00
2019-09-12 14:58:16 +03:00
2020-03-24 10:39:49 +01:00
2017-05-24 17:54:02 +02:00
2018-04-10 15:40:18 +02:00
2019-03-26 21:37:20 +01:00
2018-03-06 14:00:32 +01:00
2019-11-23 22:39:37 +01:00
2019-03-26 21:56:05 +01:00
2018-01-30 21:18:36 +01:00
2019-11-23 22:39:37 +01:00
2017-05-24 17:54:02 +02:00