[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <172122672402.53664.14935726474313794841.b4-ty@linaro.org>
Date: Wed, 17 Jul 2024 16:32:06 +0200
From: Bartosz Golaszewski <brgl@...ev.pl>
To: Dan Carpenter <dan.carpenter@...aro.org>,
Krzysztof Kozlowski <krzk@...nel.org>,
Bartosz Golaszewski <brgl@...ev.pl>
Cc: Bartosz Golaszewski <bartosz.golaszewski@...aro.org>,
linux-pm@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] power: sequencing: fix an invalid pointer dereference in error path
From: Bartosz Golaszewski <bartosz.golaszewski@...aro.org>
On Fri, 12 Jul 2024 21:40:04 +0200, Bartosz Golaszewski wrote:
> We may end up calling pwrseq_target_free() on a partially initialized
> target object whose unit is either NULL or an ERR_PTR(). Avoid
> dereferencing invalid memory by adding an appropriate check to
> pwrseq_target_free().
>
>
Applied, thanks!
[1/1] power: sequencing: fix an invalid pointer dereference in error path
commit: a19ce320c379e0519b68178c596e43d1d5dda03b
Best regards,
--
Bartosz Golaszewski <bartosz.golaszewski@...aro.org>
Powered by blists - more mailing lists