diff options
author | Andrew Turner <andrew@FreeBSD.org> | 2025-06-09 22:30:36 +0000 |
---|---|---|
committer | Andrew Turner <andrew@FreeBSD.org> | 2025-06-09 22:32:11 +0000 |
commit | d41a2ba73cbe4ed9f3d3de5c4755fb5db6b80847 (patch) | |
tree | 88c7dbbe66f0a7ab23991c9654de0b5a17ecd828 /Bindings/power/reset | |
parent | 1254c42c68b6f0c29654583220b0f4b29b75db49 (diff) |
Use LIST_FOREACH_SAFE to avoid a use-after-free in scmi_reqs_pool_free.
The next pointer will be invalid after the call to free meaning
LIST_FOREACH will dereference a freed struct to move to the next item.
Reviewed by: emaste
Sponsored by: Arm Ltd
Differential Revision: https://reviews.freebsd.org/D50753
Diffstat (limited to 'Bindings/power/reset')
0 files changed, 0 insertions, 0 deletions