diff options
author | Dan Carpenter <dan.carpenter@linaro.org> | 2025-03-15 13:04:24 +0300 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2025-03-18 15:09:00 +0300 |
commit | ae85dabcef32a4cb841ec30792edbebb965345b2 (patch) | |
tree | a92b4c4a9e0a871bb123309f3bb684f9b546d173 /lib/debugobjects.c | |
parent | 6cf5db71dc6d51ede4ff77cab126876ecf065048 (diff) | |
download | linux-ae85dabcef32a4cb841ec30792edbebb965345b2.tar.xz |
firmware: thead,th1520-aon: Fix use after free in th1520_aon_init()
Record the error code before freeing "aon_chan" to avoid a
use after free.
Fixes: e4b3cbd840e5 ("firmware: thead: Add AON firmware protocol driver")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Link: https://lore.kernel.org/r/f19be994-d355-48a6-ab45-d0f7e5955daf@stanley.mountain
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions