On Thu, 17 Jul 2025 12:09:15 +0100, Andrew Goodbody wrote:
> Instead of strcpy which is unbounded use strlcpy to ensure that the
> receiving buffer cannot be overflowed.
>
> This issue found by Smatch.
>
>
Applied to u-boot/master, thanks!
[1/1] sandbox: eth-raw: Prevent possible buffer overf
Instead of strcpy which is unbounded use strlcpy to ensure that the
receiving buffer cannot be overflowed.
This issue found by Smatch.
Signed-off-by: Andrew Goodbody
---
drivers/net/sandbox-raw-bus.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/sandbox-raw-bus
2 matches
Mail list logo