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: <20260120212144.GGaW_x6CusI9vWng-L@fat_crate.local>
Date: Tue, 20 Jan 2026 22:21:44 +0100
From: Borislav Petkov <bp@...en8.de>
To: David Desobry <david.desobry@...malgen.com>
Cc: "H. Peter Anvin" <hpa@...or.com>, tglx@...nel.org, mingo@...hat.com,
	dave.hansen@...ux.intel.com, x86@...nel.org,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH] x86/lib: Fix num_digits() signed overflow for INT_MIN

On Tue, Jan 20, 2026 at 09:16:28PM +0100, David Desobry wrote:
> I haven't hit this corner case in practice; I was just auditing the code and
> noticed the corner case overflow leading to wrong logic.

Ok, good.

> Then in a v2 version I brought some design improvement (switch case).

I saw it, thanks.

Btw, please do not send HTML mail and do not top-post on a public mailing
list.

Thx.

-- 
Regards/Gruss,
    Boris.

https://people.kernel.org/tglx/notes-about-netiquette

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ