From: Daniel Bristot de Oliveira <bristot@kernel.org>
To: Haowen Bai <baihaowen@meizu.com>, Steven Rostedt <rostedt@goodmis.org>
Cc: linux-trace-devel@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] rtla/osnoise: avoid NULL pointer dereference on out
Date: Thu, 31 Mar 2022 14:27:39 +0200 [thread overview]
Message-ID: <f3bfc577-181f-6b5b-b6ff-30edd90bbe83@kernel.org> (raw)
In-Reply-To: <1648623748-8833-1-git-send-email-baihaowen@meizu.com>
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
prev parent reply other threads:[~2022-03-31 12:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-30 7:02 Haowen Bai
2022-03-31 12:27 ` Daniel Bristot de Oliveira [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=f3bfc577-181f-6b5b-b6ff-30edd90bbe83@kernel.org \
--to=bristot@kernel.org \
--cc=baihaowen@meizu.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-trace-devel@vger.kernel.org \
--cc=rostedt@goodmis.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome