[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <f3bfc577-181f-6b5b-b6ff-30edd90bbe83@kernel.org>
Date: Thu, 31 Mar 2022 14:27:39 +0200
From: Daniel Bristot de Oliveira <bristot@...nel.org>
To: Haowen Bai <baihaowen@...zu.com>,
Steven Rostedt <rostedt@...dmis.org>
Cc: linux-trace-devel@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] rtla/osnoise: avoid NULL pointer dereference on out
On 3/30/22 09:02, Haowen Bai wrote:
> record is NULL and go out but dereference record->trace.
>
> report by coccicheck:
> tools/tracing/rtla/src/osnoise_top.c:650:31-36: ERROR:
> record is NULL but dereferenced.
Duplicated of:
https://lore.kernel.org/lkml/20220322113253.57390-1-wanjiabing@vivo.com/
-- Daniel
Powered by blists - more mailing lists