lists.openwall.net   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  linux-cve-announce  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, 20 Sep 2022 15:11:12 +0300
From:   Leon Romanovsky <leon@...nel.org>
To:     Hangyu Hua <hbh25y@...il.com>, gustavoars@...nel.org, jgg@...pe.ca,
        bvanassche@....org
Cc:     target-devel@...r.kernel.org, linux-kernel@...r.kernel.org,
        linux-rdma@...r.kernel.org
Subject: Re: [PATCH] infiniband: ulp: srpt: Use flex array destination for memcpy()

On Fri, 9 Sep 2022 10:29:43 +0800, Hangyu Hua wrote:
> 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.
> 
> Notice that srp_rsp[] is a pointer to a structure that contains
> flexible-array member data[]:
> 
> [...]

Applied, thanks!

[1/1] infiniband: ulp: srpt: Use flex array destination for memcpy()
      https://git.kernel.org/rdma/rdma/c/4b46a6079d2f8a

Best regards,
-- 
Leon Romanovsky <leon@...nel.org>

Powered by blists - more mailing lists