[riot-notifications] [RIOT-OS/RIOT] gnrs/pktbuf: avoid memcpy if size <= 0 (#10786)
notifications at github.com
Wed Jan 16 15:57:51 CET 2019
> The `data != NULL` check is still required for the case that `(size > 0) && (data != NULL)` (which is a legal input for uninitialized regions). Without that check the unittests segfault:
Totally right. How about now?
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