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

Marian Buschsieweke notifications at github.com
Mon Apr 1 17:57:42 CEST 2019


This loop is run in `cc2420_tx_prepare()` called by `cc2420_send` called by `netdev_driver_t::send()`:

https://github.com/RIOT-OS/RIOT/blob/200ce496389146f9def0f4982c11f6b2de6bb3aa/drivers/cc2420/cc2420.c#L135-L137

If any iolist entry has length zero, `spi_transfer_regs()` will be called with `len == 0` by `cc2420_fifo_write()`

-- 
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-478638762
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190401/2499b7e2/attachment.html>


More information about the notifications mailing list