[riot-notifications] [RIOT-OS/RIOT] sock_dns: fix out-of-bound errors (#10740)

Kaspar Schleiser notifications at github.com
Wed Jan 9 22:11:29 CET 2019


kaspar030 commented on this pull request.



> @@ -73,17 +73,25 @@ static unsigned _get_short(uint8_t *buf)
     return _tmp;
 }
 
-static size_t _skip_hostname(uint8_t *buf)
+static int _skip_hostname(const uint8_t *buf, size_t len, uint8_t *bufpos)

ssize_t?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/10740#pullrequestreview-190901920
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190109/f6dd2905/attachment.html>


More information about the notifications mailing list