1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2026-01-01 01:41:18 +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
..
2020-03-24 10:39:49 +01:00
2018-10-18 13:37:21 +02:00
2019-11-23 22:39:37 +01:00
2020-02-07 12:17:56 +01:00
2019-11-23 22:39:37 +01:00
2020-03-04 12:44:03 +01:00
2020-05-11 16:43:50 +02:00
2019-11-23 22:39:37 +01:00
2019-11-23 22:39:37 +01:00
2019-11-20 18:53:11 +01:00
2019-11-23 22:39:07 +01:00
2018-05-28 15:43:41 -04:00
2019-10-04 11:35:52 +02:00
2019-11-23 22:39:37 +01:00
2020-03-24 10:39:49 +01:00
2020-02-13 16:18:32 +01:00
2019-08-20 14:32:49 +02:00
2019-12-05 15:39:24 +01:00
2019-12-06 09:36:33 +01:00
2020-04-07 17:48:39 +02:00
2018-08-29 15:57:24 +02:00
2019-11-23 22:39:07 +01:00
2019-11-23 22:39:07 +01:00
2020-03-12 08:42:59 +01:00
2020-04-29 11:21:03 +02:00
2018-08-24 18:14:03 +02:00
2018-06-11 19:12:02 +02:00
2018-08-22 10:54:25 +02:00
2020-04-23 21:16:04 +02:00
2019-11-23 22:39:37 +01:00
2019-11-23 22:39:37 +01:00
2020-02-11 13:59:59 +01:00