lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20250110080559.09f781bc@gandalf.local.home>
Date: Fri, 10 Jan 2025 08:05:59 -0500
From: Steven Rostedt <rostedt@...dmis.org>
To: Dan Carpenter <dan.carpenter@...aro.org>
Cc: Costa Shulyupin <costa.shul@...hat.com>, Daniel Bristot de Oliveira
 <bristot@...nel.org>, John Kacur <jkacur@...hat.com>, "Luis Claudio R.
 Goncalves" <lgoncalv@...hat.com>, Eder Zulian <ezulian@...hat.com>, Tomas
 Glozar <tglozar@...hat.com>, Gabriele Monaco <gmonaco@...hat.com>,
 linux-trace-kernel@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v1] rtla: Fix implicit NULL dereference

On Fri, 10 Jan 2025 08:38:35 +0300
Dan Carpenter <dan.carpenter@...aro.org> wrote:

> Tracing code is generally fast path code so maybe we don't want to add
> a NULL check?  If we were really bothered by the existing code then a
> better fix would be to add an inline function to do it.

Note, this code is to the user space tooling (see the "tools/" directory)
and in the slow path of that.

-- Steve

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ