1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-20 20:13:50 +01:00
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
..
2022-05-13 12:14:55 +02:00
2017-12-01 12:55:45 +01:00
2023-06-08 16:29:12 +02:00
2023-06-08 16:29:12 +02:00