[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <174248644314.3704425.8927077374160851392.b4-ty@kernel.org>
Date: Thu, 20 Mar 2025 09:00:43 -0700
From: Namhyung Kim <namhyung@...nel.org>
To: linux-kernel@...r.kernel.org, linux-s390@...r.kernel.org,
linux-perf-users@...r.kernel.org, acme@...nel.org, irogers@...gle.com,
james.clark@...aro.org, Thomas Richter <tmricht@...ux.ibm.com>
Cc: agordeev@...ux.ibm.com, gor@...ux.ibm.com, sumanthk@...ux.ibm.com,
hca@...ux.ibm.com
Subject: Re: [PATCH v2] perf pmu: Handle memory failure in tool_pmu__new()
On Wed, 19 Mar 2025 13:28:20 +0100, Thomas Richter wrote:
> On linux-next
> commit 72c6f57a4193 ("perf pmu: Dynamically allocate tool PMU")
> allocated PMU named "tool" dynamicly. However that allocation
> can fail and a NULL pointer is returned. That case is currently
> not handled and would result in an invalid address reference.
> Add a check for NULL pointer.
>
> [...]
Applied to perf-tools-next, thanks!
Best regards,
Namhyung
Powered by blists - more mailing lists