[riot-notifications] [RIOT-OS/RIOT] asymcute: check for minimum packet length early (#10721)

Sebastian Meiling notifications at github.com
Mon Jan 7 16:29:53 CET 2019


smlng commented on this pull request.



> @@ -517,15 +517,20 @@ static void _on_unsuback(asymcute_con_t *con, const uint8_t *data, size_t len)
 static void _on_data(asymcute_con_t *con, size_t pkt_len, sock_udp_ep_t *remote)
 {
     size_t len;
-    size_t pos = _len_get(con->rxbuf, &len);
+    size_t pos;

I guess we simply ask the original author for an opinion


-- 
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/10721#discussion_r245691992
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190107/bf5a1d3b/attachment-0001.html>


More information about the notifications mailing list