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: <20251210181318.73075886@kernel.org>
Date: Wed, 10 Dec 2025 18:13:18 +0900
From: Jakub Kicinski <kuba@...nel.org>
To: Guenter Roeck <linux@...ck-us.net>
Cc: Shuah Khan <shuah@...nel.org>, Christian Brauner <brauner@...nel.org>,
 Thomas Gleixner <tglx@...utronix.de>, Ingo Molnar <mingo@...hat.com>, Eric
 Dumazet <edumazet@...gle.com>, Kees Cook <kees@...nel.org>,
 linux-kernel@...r.kernel.org, linux-kselftest@...r.kernel.org,
 wine-devel@...ehq.org, netdev@...r.kernel.org, bpf@...r.kernel.org
Subject: Re: [PATCH v2 08/13] selftests: net: netlink-dumps: Avoid
 uninitialized variable warning

On Fri,  5 Dec 2025 09:10:02 -0800 Guenter Roeck wrote:
> The following warning is seen when building netlink-dumps.
> 
> netlink-dumps.c: In function ‘dump_extack’:
> ../kselftest_harness.h:788:35: warning: ‘ret’ may be used uninitialized
> 
> Problem is that the loop which initializes 'ret' may exit early without
> initializing the variable if recv() returns an error. Always initialize
> 'ret' to solve the problem.

Are you sure you're working off the latest tree? I think this should
already be fixed by 13cb6ac5b50

I applied the other 3 networking changes.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ