]> git.ipfire.org Git - thirdparty/shadow.git/commit
lib/: Use [[gnu::alloc_size(...)]] on allocation functions
authorAlejandro Colomar <alx@kernel.org>
Sat, 29 Jun 2024 16:43:47 +0000 (18:43 +0200)
committerSerge Hallyn <serge@hallyn.com>
Tue, 2 Jul 2024 02:40:11 +0000 (21:40 -0500)
commitba3a51e90f8f91733581d884d4fddbd4d2248db6
treecd3c2ef98e1245375eb324b3d424ac7478f6986f
parent5111e5ed1b7b8063b64abc6b37c530aba38c187d
lib/: Use [[gnu::alloc_size(...)]] on allocation functions

Suggested-by: Martin Uecker <uecker@tugraz.at>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
lib/alloc/malloc.h
lib/alloc/reallocf.h
lib/alloc/x/xcalloc.h
lib/alloc/x/xmalloc.h
lib/alloc/x/xrealloc.h
lib/attr.h