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:   Thu, 17 Jun 2021 07:50:11 +0200
From:   Wolfram Sang <>
To:     Kees Cook <>
        Sergei Shtylyov <>,
        "David S. Miller" <>,
        Jakub Kicinski <>,
        Sergey Shtylyov <>,
        Andrew Lunn <>,
        Geert Uytterhoeven <>,
        Jesse Brandeburg <>,
        Michael Walle <>,
        Yang Yingliang <>,
        Rikard Falkeborn <>,,,
Subject: Re: [PATCH] sh_eth: Avoid memcpy() over-reading of ETH_SS_STATS

On Wed, Jun 16, 2021 at 12:53:33PM -0700, Kees Cook wrote:
> In preparation for FORTIFY_SOURCE performing compile-time and run-time
> field bounds checking for memcpy(), memmove(), and memset(), avoid
> intentionally reading across neighboring array fields.
> The memcpy() is copying the entire structure, not just the first array.
> Adjust the source argument so the compiler can do appropriate bounds
> checking.
> Signed-off-by: Kees Cook <>

For the record:

Reviewed-by: Wolfram Sang <>

Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)

Powered by blists - more mailing lists