acrn-hypervisor/misc/services
Jiaqing Zhao d4fa35ad5b misc: life_mngr: fix use-after-free in uart channel
LIST_FOREACH() doesn't allow var to be removed or freed within the
loop, but c_dev is freed inside the loop here. gcc 12 also reports
error on it. This patch uses list_foreach_safe() macro instead for
freeing var within the loop safely.

Tracked-On: #8382
Signed-off-by: Jiaqing Zhao <jiaqing.zhao@linux.intel.com>
Reviewed-by: Junjie Mao <junjie.mao@intel.com>
2023-04-21 23:30:57 +08:00
..
acrn_bridge tools: rename and category content into debug tools and services 2021-01-27 11:08:28 +08:00
acrn_manager doc: Update acrnctrl readme 2022-09-20 09:09:47 -07:00
life_mngr misc: life_mngr: fix use-after-free in uart channel 2023-04-21 23:30:57 +08:00