Re: [PATCH 2/2] i2c: Fix a potential use after free

From: Wolfram Sang
Date: Tue Jul 26 2022 - 17:29:26 EST


On Fri, Dec 27, 2019 at 09:34:32AM +0000, Xu Wang wrote:
> Free the adap structure only after we are done using it.
> This patch just moves the put_device() down a bit to avoid the
> use after free.
>
> Signed-off-by: Xu Wang <vulab@xxxxxxxxxxx>

Applied to for-next, thanks!

Attachment: signature.asc
Description: PGP signature