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]
Date: Tue, 24 Oct 2023 14:18:50 -0700
From: Kees Cook <>
To: Alasdair Kergon <>,
	Mike Snitzer <>,,
	Justin Stitt <>
Cc: Kees Cook <>,,
Subject: Re: [PATCH] dm crypt: replace open-coded kmemdup_nul

On Mon, 25 Sep 2023 06:35:54 +0000, Justin Stitt wrote:
> kzalloc() followed by strncpy() on an expected NUL-terminated string is
> just kmemdup_nul(). Let's simplify this code (while also dropping a
> deprecated strncpy() call [1]).

Applied to for-next/hardening, thanks!

[1/1] dm crypt: replace open-coded kmemdup_nul

Take care,

Kees Cook

Powered by blists - more mailing lists