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:   Wed, 11 Aug 2021 11:38:14 +0200
From:   Geert Uytterhoeven <>
To:     Len Baker <>
Cc:     Andy Gross <>,
        Bjorn Andersson <>,
        Magnus Damm <>,
        Santosh Shilimkar <>,
        Kees Cook <>,
        David Laight <>,
        Robin Murphy <>,,
        linux-arm-msm <>,
        Linux Kernel Mailing List <>,
        Linux-Renesas <>,
        Linux ARM <>
Subject: Re: [PATCH v4 2/3] drivers/soc/renesas: Prefer memcpy over strcpy

On Sun, Aug 8, 2021 at 4:50 PM 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. So, use memcpy() as a safe replacement.
> This is a previous step in the path to remove the strcpy() function
> entirely from the kernel.
> Signed-off-by: Len Baker <>

Reviewed-by: Geert Uytterhoeven <>
i.e. will queue in renesas-devel for v5.15.



Geert Uytterhoeven -- There's lots of Linux beyond ia32 --

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

Powered by blists - more mailing lists