1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-28 07:51:19 +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-02-21 15:15:02 +01:00
2021-01-21 11:22:33 +01:00
2018-06-11 19:12:02 +02:00
2022-08-04 15:09:20 +02:00
2022-07-25 11:08:31 +02:00