Re: [PATCH] spi: tegra20-slink: bound copies to t->len

From: Mark Brown

Date: Thu Oct 15 2026 - 07:33:26 EST


On Wed, Oct 14, 2026 at 10:18:16PM +0800, Weibin Liu wrote:

> + if (nbytes > t->len - tspi->cur_tx_pos)
> + nbytes = t->len - tspi->cur_tx_pos;

spi_bpw_to_bytes() - 24 bit words can have padding.

Attachment: signature.asc
Description: PGP signature