[riot-notifications] [RIOT-OS/RIOT] cpu/esp_common: esp_now doesn't call memcpy if iol_len is 0 (#11187)

Martine Lenders notifications at github.com
Fri Mar 15 10:19:23 CET 2019


miri64 commented on this pull request.



> @@ -652,11 +652,11 @@ static int _send(netdev_t *netdev, const iolist_t *iolist)
                   data_len + iolist->iol_len, ESP_NOW_MAX_SIZE_RAW);

Can it be guaranteed that [this dereference above](https://github.com/RIOT-OS/RIOT/pull/11187/files#diff-24495fdc92b602d8c37d024123b775a5R636) does not dereference a NULL pointer?

-- 
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/11187#pullrequestreview-214930207
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190315/f9d57e0d/attachment.html>


More information about the notifications mailing list