On Sun, May 31, 2026 at 10:22:51AM -0400, Michael Bommarito wrote:
>
> +     size = min_t(unsigned int, size, avail - vi->data_idx);
> +     idx = array_index_nospec(vi->data_idx, sizeof(vi->data));
> +     memcpy(buf, vi->data + idx, size);

I don't see how nospec can help here.  Please enlighten me.

Thanks,
-- 
Email: Herbert Xu <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

Reply via email to