[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAP4=nvTXEO=i7Rf4ONOpr89XoFLnkGYKp78xMLZk4yYh6dnZEA@mail.gmail.com>
Date: Tue, 25 Mar 2025 16:48:36 +0100
From: Tomas Glozar <tglozar@...hat.com>
To: Costa Shulyupin <costa.shul@...hat.com>
Cc: Steven Rostedt <rostedt@...dmis.org>, Daniel Bristot de Oliveira <bristot@...nel.org>,
John Kacur <jkacur@...hat.com>, "Luis Claudio R. Goncalves" <lgoncalv@...hat.com>,
Eder Zulian <ezulian@...hat.com>, Dan Carpenter <dan.carpenter@...aro.org>,
Gabriele Monaco <gmonaco@...hat.com>, linux-trace-kernel@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v1] rtla: Fix crash due to NULL record dereference
so 22. 3. 2025 v 19:40 odesÃlatel Costa Shulyupin
<costa.shul@...hat.com> napsal:
>
> The previous patch introduced a crash by dereferencing record,
> which can be NULL.
>
> Add checks to prevent the crash.
>
> Signed-off-by: Costa Shulyupin <costa.shul@...hat.com>
This is a duplicate of my fix [1]. I added a NULL check inside the
function and made the callers pass NULL if the record instance is not
initialized.
[1] https://lore.kernel.org/linux-trace-kernel/20250313141034.299117-1-tglozar@redhat.com/
Tomas
Powered by blists - more mailing lists