Whamcloud - gitweb
LU-16509 lnet: memcpy false positive in brw_test
authorPatrick Farrell <pfarrell@whamcloud.com>
Mon, 6 Mar 2023 15:35:11 +0000 (10:35 -0500)
committerAndreas Dilger <adilger@whamcloud.com>
Tue, 14 Mar 2023 17:54:29 +0000 (17:54 +0000)
commitaa6b49a76499b0fc3a9e6f3b5f80247e7bbb63d1
tree247f18153ee52ba93498e18c59a723a785e383d3
parent2da993663b9d5d3bb536eb25924486501c504763
LU-16509 lnet: memcpy false positive in brw_test

The flexible array at the end of srcp_bulk is triggering a
false positive in fortified memcpy().  Quash it with
unsafe_memcpy().

Lustre-change: https://review.whamcloud.com/50185/
Lustre-commit: 299bd671a9f7c0955b2be59e36bb8239797c1b82 (tbd)

Signed-off-by: Patrick Farrell <pfarrell@whamcloud.com>
Change-Id: I13386c0a8e73b04af8d398aa49361bfdf6a05ad8
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/50218
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lnet/selftest/brw_test.c