mirror of
git://git.yoctoproject.org/linux-yocto.git
synced 2025-08-21 16:31:14 +02:00
![]() The kref_put() function will call nport->release if the refcount drops to
zero. The nport->release release function is _efc_nport_free() which frees
"nport". But then we dereference "nport" on the next line which is a use
after free. Re-order these lines to avoid the use after free.
Fixes:
|
||
---|---|---|
.. | ||
efc_cmds.c | ||
efc_cmds.h | ||
efc_device.c | ||
efc_device.h | ||
efc_domain.c | ||
efc_domain.h | ||
efc_els.c | ||
efc_els.h | ||
efc_fabric.c | ||
efc_fabric.h | ||
efc_node.c | ||
efc_node.h | ||
efc_nport.c | ||
efc_nport.h | ||
efc_sm.c | ||
efc_sm.h | ||
efc.h | ||
efclib.c | ||
efclib.h |