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] [day] [month] [year] [list]
Date:   Sun, 1 Aug 2021 10:47:31 +0200
From:   Len Baker <>
To:     Kees Cook <>, Andy Gross <>,
        Bjorn Andersson <>,
        Geert Uytterhoeven <>,
        Magnus Damm <>,
        Santosh Shilimkar <>
Cc:     Len Baker <>,
        David Laight <David.Laight@...LAB.COM>,
        Robin Murphy <>,,,,,
Subject: Re: [PATCH v2] drivers/soc: Remove all strcpy() uses

On Sat, Jul 31, 2021 at 07:18:25PM +0200, Len Baker wrote:
> strcpy() performs no bounds checking on the destination buffer. This
> could result in linear overflows beyond the end of the buffer, leading
> to all kinds of misbehaviors. The safe replacement is strscpy().
> Moreover, when the size of the destination buffer cannot be obtained
> using "sizeof", use the memcpy function instead of strscpy.
> Reviewed-by: Geert Uytterhoeven <>
> Signed-off-by: Len Baker <>

Drop this patch. It has errors. Sorry for the noise.


Powered by blists - more mailing lists