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: <202601300934.62F91F79@keescook>
Date: Fri, 30 Jan 2026 09:34:42 -0800
From: Kees Cook <kees@...nel.org>
To: Feng Jiang <jiangfeng@...inos.cn>
Cc: palmer@...belt.com, aou@...s.berkeley.edu, alex@...ti.fr,
	akpm@...ux-foundation.org, andy@...nel.org, ebiggers@...nel.org,
	martin.petersen@...cle.com, herbert@...dor.apana.org.au,
	samuel.holland@...ive.com, ajones@...tanamicro.com,
	conor.dooley@...rochip.com, charlie@...osinc.com, nathan@...nel.org,
	linusw@...nel.org, linux-riscv@...ts.infradead.org,
	linux-kernel@...r.kernel.org, linux-hardening@...r.kernel.org
Subject: Re: [PATCH v7 1/8] lib/string_kunit: add correctness test for
 strlen()

On Fri, Jan 30, 2026 at 10:50:11AM +0800, Feng Jiang wrote:
> Add a KUnit test for strlen() to verify correctness across
> different string lengths and memory alignments. Use vmalloc()
> to place the NUL character at the page boundary to ensure
> over-reads are detected.
> 
> Suggested-by: Kees Cook <kees@...nel.org>
> Signed-off-by: Feng Jiang <jiangfeng@...inos.cn>

Reviewed-by: Kees Cook <kees@...nel.org>

-- 
Kees Cook

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ