Re: [PATCH] bus/platform: fix use after free

2023-10-02 Thread David Marchand
On Thu, Aug 24, 2023 at 12:52 PM Tomasz Duszynski wrote: > > Remove device from the list before doing actual cleanup to avoid use > after free. > > Bugzilla ID: 1276 > Fixes: 17c839f74da3 ("bus: add platform bus") > > Signed-off-by: Tomasz Duszynski Applied, thanks. -- David Marchand

[PATCH] bus/platform: fix use after free

2023-08-24 Thread Tomasz Duszynski
Remove device from the list before doing actual cleanup to avoid use after free. Bugzilla ID: 1276 Fixes: 17c839f74da3 ("bus: add platform bus") Signed-off-by: Tomasz Duszynski --- drivers/bus/platform/platform.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/bus/pl