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] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240106141027.2ed2f890@hermes.local>
Date: Sat, 6 Jan 2024 14:10:27 -0800
From: Stephen Hemminger <stephen@...workplumber.org>
To: Maks Mishin <maks.mishinfz@...il.com>
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH] lnstat: Fix deref of null in print_json() function

On Sat,  6 Jan 2024 22:04:23 +0300
Maks Mishin <maks.mishinfz@...il.com> wrote:

> Now pointer `jw` is being checked for NULL before using
> in function `jsonw_start_object`.
> Added exit from function when `jw==NULL`.
> 
> Found by RASU JSC
> 
> Signed-off-by: Maks Mishin <maks.mishinFZ@...il.com>

Probably not worth fixing.
If the malloc() of 20 bytes ever fails then something is really wrong.
The Linux kernel will kill the process first.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ