Re: [PATCH] RDMA/usnic: Bound buffer size to sizeof(buf) in flowinfo_read()
From: Leon Romanovsky
Date: Sun Oct 18 2026 - 09:26:12 EST
On Sat, 17 Oct 2026 21:50:28 +0300, Serhat Kumral wrote:
> In flowinfo_read(), 'left' tracks the remaining space in the 512-byte
> stack buffer 'buf', but it is initialized to 'count'.
>
> Initialize 'left' to sizeof(buf) instead of 'count'.
Applied, thanks!
[1/1] RDMA/usnic: Bound buffer size to sizeof(buf) in flowinfo_read()
https://git.kernel.org/rdma/rdma/c/9dd8b9a337af84
Best regards,
--
Leon Romanovsky <leon@xxxxxxxxxx>