[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <981b55a8-b5a6-6353-97f6-f94d287cd583@amd.com>
Date: Wed, 23 Mar 2022 14:01:11 -0500
From: Kim Phillips <kim.phillips@....com>
To: Stephane Eranian <eranian@...gle.com>, linux-kernel@...r.kernel.org
Cc: peterz@...radead.org, acme@...hat.com, jolsa@...hat.com,
songliubraving@...com, rafael@...nel.org, ravi.bangoria@....com,
sandipan.das@....com
Subject: Re: [PATCH v7 10/13] perf tools: fix NULL point in evsel__env()
On 3/22/22 5:15 PM, Stephane Eranian wrote:
> evsel_env() cannot return NULL. In case evsel->evlist->env is NULL default
> to perf_env. Fixes crashes in evsel__open_strerror()
>
> Signed-off-by: Ravi Bangoria <ravi.bangoria@....com>
> Reviewed-by: Stephane Eranian <eranian@...gle.com>
> ---
Signed-off-by: Kim Phillips <kim.phillips@....com>
FWIW, here's a link to one of the original submissions:
https://lkml.org/lkml/2022/1/26/1220
Thanks,
Kim
Powered by blists - more mailing lists