summaryrefslogtreecommitdiff
path: root/drivers/fpga/ACEX1K.c
diff options
context:
space:
mode:
authorAndrew Goodbody <andrew.goodbody@linaro.org>2025-08-05 11:52:00 +0100
committerJerome Forissier <jerome.forissier@linaro.org>2025-08-18 15:47:57 +0200
commited3b08874f4c47e287a1f0eb36fc61ff7d778cc9 (patch)
tree4dfd09d3b60bf81a4b01f62197df041bd46e5fac /drivers/fpga/ACEX1K.c
parent4800a6a0b3fa9d00f1ec40233a0e16464987c24f (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/ACEX1K.c')
0 files changed, 0 insertions, 0 deletions