Skip to content
Commit 2302b5bb authored by Jacky Chou's avatar Jacky Chou Committed by Tom Rini
Browse files

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: default avatarJacky Chou <jacky_chou@aspeedtech.com>
parent d7aa6b8d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment