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
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Tue, 10 Aug 2021 16:36:16 +0200
From:   Robert Richter <>
To:     Joe Perches <>
Cc:     Len Baker <>, Borislav Petkov <>,
        Mauro Carvalho Chehab <>,
        Tony Luck <>,
        James Morse <>,
        Kees Cook <>,,,
Subject: Re: [PATCH v3] drivers/edac/edac_mc: Remove all strcpy() uses

On 09.08.21 10:18:58, Joe Perches wrote:

> strscpy and scnprintf have different return values and it's simpler
> and much more common to use scnprintf for appended strings that are
> limited to a specific buffer length.

Calculating the bytes written from the return value is a oneliner.


Powered by blists - more mailing lists