opnsense-src/sys/dev/firmware
Andrew Turner d41a2ba73c scmi: Avoid a use-after-free
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
2025-06-09 23:32:11 +01:00
..
arm scmi: Avoid a use-after-free 2025-06-09 23:32:11 +01:00
xilinx Replace calls to bus_generic_attach with bus_attach_children 2024-12-06 17:26:16 -05:00