diff options
author | Jacky Chou <jacky_chou@aspeedtech.com> | 2023-12-29 09:45:55 +0800 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2024-03-26 19:58:26 -0400 |
commit | 22f314e01ce249ec1649623ef725552f677beb62 (patch) | |
tree | 79f8c56d6ffef80d1f082b8442ce977dfdea5fc9 /drivers/gpio/imx_rgpio2p.c | |
parent | ab8d9ca3044acf51d8ff3bf3c4718c48f30ad606 (diff) |
net: phy: ncsi: fixed not nullify the pointers after free
The issue occurs the UAF (use-after-free) to cause double free
when do the realloc function for the pointers during the
reinitialization NC-SI process, and it will cause the memory
management occurs error.
So, nullify these pointers after free.
Signed-off-by: Jacky Chou <jacky_chou@aspeedtech.com>
Diffstat (limited to 'drivers/gpio/imx_rgpio2p.c')
0 files changed, 0 insertions, 0 deletions