[riot-notifications] [RIOT-OS/RIOT] netdev: iolist not checked for empty elements on send (#11163)

Martine Lenders notifications at github.com
Wed Mar 13 20:23:43 CET 2019


> `cc110x` uses a temporary buffer, as the on-device buffer is only 64 Bytes in size. The iolist is `memcpy`ed into that buffer and `memcpy` is fine with a size of 0.

:+1: `memcpy()` with size 0 seems to be undefined behavior with some compilers though (see PRs that spun out of https://github.com/RIOT-OS/RIOT/pull/10782).

-- 
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/issues/11163#issuecomment-472569307
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190313/2ea5cff1/attachment.html>


More information about the notifications mailing list