[riot-notifications] [RIOT-OS/RIOT] netdev: iolist not checked for empty elements on send (#11163)
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:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the notifications