[riot-notifications] [RIOT-OS/RIOT] net/nanocoap: validate option length (#10823)

Sebastian Meiling notifications at github.com
Wed Jan 23 08:58:00 CET 2019

smlng commented on this pull request.

> @@ -499,7 +499,35 @@ static size_t _encode_uint(uint32_t *val)
     return size;
-static unsigned _put_delta_optlen(uint8_t *buf, unsigned offset, unsigned shift, unsigned val)
+ * Writes CoAP Option header. Expected to be called twice to write an option:

ah well, looking through the rest of the code its never used or done that way, and its an internal function, so its seems not that important. 

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190122/bb0ecda9/attachment.html>

More information about the notifications mailing list