[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <YuBY5K9n/mRfeuzz@shikoro>
Date: Tue, 26 Jul 2022 23:13:08 +0200
From: Wolfram Sang <wsa@...-dreams.de>
To: Xu Wang <vulab@...as.ac.cn>
Cc: linux-i2c@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2/2] i2c: Fix a potential use after free
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@...as.ac.cn>
Applied to for-next, thanks!
Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)
Powered by blists - more mailing lists