diff options
author | Andrew Goodbody <andrew.goodbody@linaro.org> | 2025-07-17 12:09:15 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2025-07-24 13:30:20 -0600 |
commit | 5c0827eededc8392472823d8e3e50cd0f5fad47b (patch) | |
tree | 0a93e4422494750507e30f19791c9315548992aa /drivers/fpga/fpga.c | |
parent | 70a4d1fa1ddb2f5f8f9a27442563f182549abbb5 (diff) |
sandbox: eth-raw: Prevent possible buffer overflow
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 <andrew.goodbody@linaro.org>
Diffstat (limited to 'drivers/fpga/fpga.c')
0 files changed, 0 insertions, 0 deletions