diff options
author | 2025-05-03 15:25:36 +0200 | |
---|---|---|
committer | 2025-05-05 12:49:20 +0200 | |
commit | 6f9ccdad0feaef58b05f07e0fc9d31004147177c (patch) | |
tree | d2c031bc02c3993e5a5e61724e71f34e5ac3221f /scripts/lib/kdoc/kdoc_files.py | |
parent | ovl: Replace offsetof() with struct_size() in ovl_stack_free() (diff) | |
download | linux-rng-6f9ccdad0feaef58b05f07e0fc9d31004147177c.tar.xz linux-rng-6f9ccdad0feaef58b05f07e0fc9d31004147177c.zip |
ovl: Annotate struct ovl_entry with __counted_by()
Add the __counted_by() compiler attribute to the flexible array member
'__lowerstack' to improve access bounds-checking via CONFIG_UBSAN_BOUNDS
and CONFIG_FORTIFY_SOURCE.
Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions