1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-29 08:21:18 +01:00
RIOT/sys/net/application_layer
Benjamin Valentin 0fa04a3d57 nanocoap: prevent integer underflow in coap_opt_put_uri_pathquery()
If uri contains no path but only a query "?foo=bar" `len` would underflow.
Fix this by detecting if there is no path.

Reported by @Yu3H0
2023-10-20 12:59:42 +02:00
..
2023-03-14 18:15:21 +01:00
2022-08-11 14:04:16 +02:00
2020-10-23 11:27:48 +02:00
2022-03-31 12:50:31 +02:00
2020-11-19 23:11:21 +01:00