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:   Tue, 06 Sep 2022 22:25:06 -0400
From:   "Martin K. Petersen" <>
To:     Kees Cook <>
Cc:     Bradley Grove <>,
        "James E.J. Bottomley" <>,
        "Martin K. Petersen" <>,,,
Subject: Re: [PATCH] esas2r: Use flex array destination for memcpy()


> In preparation for FORTIFY_SOURCE performing run-time destination
> buffer bounds checking for memcpy(), specify the destination output
> buffer explicitly, instead of asking memcpy() to write past the end of
> what looked like a fixed-size object. Silences future run-time
> warning:
>   memcpy: detected field-spanning write (size 80) of single field "trc + 1" (size 64)
> There is no binary code output differences from this change.

Applied to 6.1/scsi-staging, thanks!

Martin K. Petersen	Oracle Linux Engineering

Powered by blists - more mailing lists