]> git.ipfire.org Git - thirdparty/shadow.git/commit
Use *array() allocation functions where appropriate
authorAlejandro Colomar <alx@kernel.org>
Sat, 4 Feb 2023 20:47:01 +0000 (21:47 +0100)
committerSerge Hallyn <serge@hallyn.com>
Fri, 24 Feb 2023 02:28:43 +0000 (20:28 -0600)
commit191f04f7dcb92a2c7de99dbf1108563ea8832927
tree3ebd5ee4712ad2ddd1d7d1c6fbde17fdf5bd7ec8
parent727275a0270bdfee0fb269319cee139bfd597b0c
Use *array() allocation functions where appropriate

This prevents overflow from multiplication.

Signed-off-by: Alejandro Colomar <alx@kernel.org>
18 files changed:
lib/commonio.c
lib/groupmem.c
lib/gshadow.c
lib/sgetgrent.c
lib/sgroupio.c
lib/subordinateio.c
libmisc/addgrps.c
libmisc/env.c
libmisc/find_new_uid.c
libmisc/list.c
src/gpasswd.c
src/groups.c
src/id.c
src/newgrp.c
src/newusers.c
src/su.c
src/useradd.c
src/usermod.c