[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Y5D1/54Y5usunN7p@shikoro>
Date: Wed, 7 Dec 2022 21:22:23 +0100
From: Wolfram Sang <wsa@...nel.org>
To: Hui Tang <tanghui20@...wei.com>
Cc: peda@...ntia.se, linux-i2c@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] i2c: mux: reg: Fix possible null-ptr-deref
On Mon, Nov 14, 2022 at 08:43:22AM +0800, Hui Tang wrote:
> It will cause null-ptr-deref when resource_size(res) invoked,
> if platform_get_resource() returns NULL.
>
> Fixes: b3fdd32799d8 ("i2c: mux: Add register-based mux i2c-mux-reg")
> Signed-off-by: Hui Tang <tanghui20@...wei.com>
Correct, yet I applied this older patch instead:
http://patchwork.ozlabs.org/project/linux-i2c/patch/20221029093825.3425857-1-yangyingliang@huawei.com/
Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)
Powered by blists - more mailing lists