1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-28 16:01:18 +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
..
2023-09-06 10:19:01 +00:00
2022-03-11 09:24:12 +01:00
2023-05-19 15:03:42 +02:00
2023-06-05 13:00:23 +02:00
2023-05-24 09:53:33 +02:00
2023-10-06 18:21:34 +02:00
2023-02-17 20:09:53 +00:00
2022-09-29 22:01:37 +02:00
2023-05-30 20:39:10 +02:00
2023-05-24 09:53:35 +02:00
2023-10-12 14:27:46 +00:00
2023-07-18 12:24:08 +02:00
2023-07-24 10:50:36 +00:00
2023-08-31 14:38:49 +02:00
2023-08-31 14:38:49 +02:00
2023-08-31 14:38:49 +02:00
2023-08-31 14:38:49 +02:00