diff options
| author | Kees Cook <[email protected]> | 2024-06-19 20:31:05 +0000 |
|---|---|---|
| committer | Kees Cook <[email protected]> | 2024-06-19 20:32:04 +0000 |
| commit | 2003e483a81cc235e29f77da3f6b256cb4b348e7 (patch) | |
| tree | f271aeae5cf006dedb24065559b463e7ec405f2a /scripts/gcc-plugins/gcc-common.h | |
| parent | x86/alternatives: Make FineIBT mode Kconfig selectable (diff) | |
| download | kernel-2003e483a81cc235e29f77da3f6b256cb4b348e7.tar.gz kernel-2003e483a81cc235e29f77da3f6b256cb4b348e7.zip | |
fortify: Do not special-case 0-sized destinations
All fake flexible arrays should have been removed now, so remove the
special casing that was avoiding checking them. If a destination claims
to be 0 sized, believe it. This is especially important for cases where
__counted_by is in use and may have a 0 element count.
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Kees Cook <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/gcc-common.h')
0 files changed, 0 insertions, 0 deletions
