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 PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Wed, 26 Jan 2022 14:48:39 -0500 From: Ralph Siemsen <ralph.siemsen@...aro.org> To: Kees Cook <keescook@...omium.org> Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>, Andy Shevchenko <andriy.shevchenko@...ux.intel.com>, Arnd Bergmann <arnd@...db.de>, Jiri Prchal <jiri.prchal@...ignal.cz>, Mark Brown <broonie@...nel.org>, linux-kernel@...r.kernel.org, linux-hardening@...r.kernel.org Subject: Re: [PATCH -next] eeprom: at25: Replace strncpy() with strscpy() Hi Kees, On Tue, Jan 18, 2022 at 10:20:47AM -0800, Kees Cook wrote: >Use strscpy() instead of strncpy(), since its use has been deprecated[1]. > >[1] >https://www.kernel.org/doc/html/latest/process/deprecated.html#strncpy-on-nul-terminated-strings Along with your other fix to restore the missing kzalloc(), I tested this change on 32-bit arm system, and it worked as expected. Tested-by: Ralph Siemsen <ralph.siemsen@...aro.org> Cheers, -Ralph
Powered by blists - more mailing lists