Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information