Skip to content
Commit 68050eb6 authored by Dan Carpenter's avatar Dan Carpenter Committed by Thierry Reding
Browse files

mailbox: tegra-hsp: Use after free in tegra_hsp_remove_doorbells()



We have to use the _safe version of list_for_each() because we're
freeing the pointer as we go along.  (This might not show up testing
depending on what config options you have enabled).

Fixes: 0fe88461 ("mailbox: Add Tegra HSP driver")
Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
parent 0fe88461
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