aboutsummaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorKees Cook <[email protected]>2022-09-24 00:33:15 -0700
committerMiklos Szeredi <[email protected]>2022-12-08 10:49:46 +0100
commitcf8aa9bf97cadf85745506c6a3e244b22c268d63 (patch)
treeae16d91a1fc51725c8bb78f359981fa88a926bc8 /scripts/generate_rust_analyzer.py
parent456b59e757b0c558df550764a4fd5ae6877e93f8 (diff)
ovl: Use "buf" flexible array for memcpy() destination
The "buf" flexible array needs to be the memcpy() destination to avoid false positive run-time warning from the recent FORTIFY_SOURCE hardening: memcpy: detected field-spanning write (size 93) of single field "&fh->fb" at fs/overlayfs/export.c:799 (size 21) Reported-by: [email protected] Link: https://lore.kernel.org/all/[email protected]/ Signed-off-by: Kees Cook <[email protected]> Reviewed-by: Gustavo A. R. Silva <[email protected]> Signed-off-by: Miklos Szeredi <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions