diff options
| author | Kees Cook <[email protected]> | 2023-01-06 04:19:48 +0000 |
|---|---|---|
| committer | Kees Cook <[email protected]> | 2023-01-27 19:42:57 +0000 |
| commit | aa85923a954e7704bc9d3847dabeb8540aa98d13 (patch) | |
| tree | 6a7b93241b3853da3696f76f82ad0c177a21ce13 /scripts/gcc-plugins | |
| parent | net/i40e: Replace 0-length array with flexible array (diff) | |
| download | kernel-aa85923a954e7704bc9d3847dabeb8540aa98d13.tar.gz kernel-aa85923a954e7704bc9d3847dabeb8540aa98d13.zip | |
crypto: hisilicon: Wipe entire pool on error
To work around a Clang __builtin_object_size bug that shows up under
CONFIG_FORTIFY_SOURCE and UBSAN_BOUNDS, move the per-loop-iteration
mem_block wipe into a single wipe of the entire pool structure after
the loop.
Reported-by: Nathan Chancellor <[email protected]>
Link: https://github.com/ClangBuiltLinux/linux/issues/1780
Cc: Weili Qian <[email protected]>
Cc: Zhou Wang <[email protected]>
Cc: Herbert Xu <[email protected]>
Cc: "David S. Miller" <[email protected]>
Cc: [email protected]
Signed-off-by: Kees Cook <[email protected]>
Tested-by: Nathan Chancellor <[email protected]> # build
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/gcc-plugins')
0 files changed, 0 insertions, 0 deletions
