diff options
author | Andrew Goodbody <andrew.goodbody@linaro.org> | 2025-08-05 11:52:00 +0100 |
---|---|---|
committer | Jerome Forissier <jerome.forissier@linaro.org> | 2025-08-18 15:47:57 +0200 |
commit | ed3b08874f4c47e287a1f0eb36fc61ff7d778cc9 (patch) | |
tree | 4dfd09d3b60bf81a4b01f62197df041bd46e5fac /drivers/fpga/socfpga_gen5.c | |
parent | 4800a6a0b3fa9d00f1ec40233a0e16464987c24f (diff) |
net: ldpaa_eth: Fix buffer overflow in memset
In ldpaa_eth_open a memset is used to initialise a struct to 0 but the
size passed is that of a different struct. Correct to pass the sizeof
the struct that is being initialised.
This issue was found by Smatch.
Signed-off-by: Andrew Goodbody <andrew.goodbody@linaro.org>
Diffstat (limited to 'drivers/fpga/socfpga_gen5.c')
0 files changed, 0 insertions, 0 deletions