mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-10 20:48:12 +00:00
coredump: Use __counted_by_ptr for struct core_name::corename
Use the __counted_by annotation now available for struct pointer members, __counted_by_ptr(). Move assignments to immediately after allocation. Link: https://patch.msgid.link/20251020220118.1226740-3-kees@kernel.org Signed-off-by: Kees Cook <kees@kernel.org>
This commit is contained in:
parent
a120a832e3
commit
fac4ab5cd0
1 changed files with 4 additions and 4 deletions
Loading…
Add table
Add a link
Reference in a new issue