diff options
| author | Thorsten Blum <thorsten.blum@linux.dev> | 2026-04-15 14:25:45 +0200 |
|---|---|---|
| committer | Kees Cook <kees@kernel.org> | 2026-05-13 10:54:08 -0700 |
| commit | 8f64fb098a5b1dfea57989fdf732b6168f0e1c35 (patch) | |
| tree | 026458de4d29d61bc179c04fa43b112d883d013c /scripts/Makefile.thinlto | |
| parent | 233e1ab980269394bfa78191ac12446cc6a22683 (diff) | |
lib/string_helpers: annotate struct strarray with __counted_by_ptr
Add the __counted_by_ptr() compiler attribute to 'array' to improve
bounds checking via CONFIG_UBSAN_BOUNDS and CONFIG_FORTIFY_SOURCE.
Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Link: https://patch.msgid.link/20260415122542.370926-6-thorsten.blum@linux.dev
Signed-off-by: Kees Cook <kees@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
