1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00
RIOT/sys/net
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
..
application_layer nanocoap: Added token length validation. 2020-05-25 22:44:50 +02:00
ble ble/skald: remove broken assert in init() 2019-09-26 22:07:23 +02:00
credman sys/net: add credman (D)TLS credential manager 2019-07-19 13:56:21 +02:00
crosslayer ieee802154: add definitions & config options for MR-O-QPSK 2020-04-29 10:41:37 +02:00
gnrc Merge pull request #13740 from miri64/gnrc_ipv6_nib/fix/abr-add-pio-iface 2020-05-12 15:43:45 +02:00
link_layer ieee802154: Expose configurations to Kconfig 2020-04-08 18:28:23 +02:00
netdev_test sys/net: iolist updates 2018-03-06 14:00:32 +01:00
netif netif: introduce descriptor based netif 2019-10-11 10:59:14 +02:00
network_layer sys/net: fix typos 2019-11-23 22:39:38 +01:00
routing net: Remove NHDP module 2020-02-18 13:20:05 +01:00
sock sock_async_event: update for async callback argument support 2020-03-11 16:54:12 +01:00
transport_layer sys: fix doxygen grouping 2018-06-11 19:12:02 +02:00
doc.txt doc: add net to sys group 2015-08-30 14:00:33 +02:00
Kconfig Merge pull request #13315 from jia200x/pr/kconfig/ieee802154 2020-04-08 19:34:55 +02:00