shadow/lib
Iker Pedrosa d594243fbb lib: check NULL before freeing passwd data
Add an additional NULL check condition in spw_free() and pw_free() to
avoid freeing an already empty pointer.

Signed-off-by: Iker Pedrosa <ipedrosa@redhat.com>
2021-11-19 12:09:59 +01:00
..
.indent.pro
commonio.c fix spelling and unify whitespace 2021-08-18 18:06:02 +00:00
commonio.h struct commonio_db[selinux]: do not use deprecated type security_context_t 2021-05-06 16:58:10 +02:00
defines.h lib/defines.h: Include <crypt.h> if present on the system. 2021-07-04 13:01:21 +02:00
encrypt.c libsubid: don't print error messages on stderr by default 2021-05-15 12:38:55 -05:00
exitcodes.h
faillog.h fix spelling 2021-09-13 15:11:40 +00:00
fields.c
fputsx.c
get_gid.c
get_pid.c
get_uid.c
getdef.c Merge pull request #335 from hallyn/2021-05-08/stderr 2021-05-16 21:44:22 -05:00
getdef.h add --prefix option 2017-03-01 22:51:09 +01:00
getlong.c
getulong.c Simplify getulong 2016-08-03 11:51:07 -05:00
groupio.c Use the lckpwdf() again if prefix is not set 2019-05-02 14:33:06 +02:00
groupio.h
groupmem.c add -U option to groupadd and groupmod 2020-08-09 22:11:33 -05:00
gshadow_.h * lib/gshadow_.h: Fix typo in comment. 2011-08-14 13:16:54 +00:00
gshadow.c
lockpw.c
Makefile.am fix spelling and unify whitespace 2021-08-18 18:06:02 +00:00
nscd.c libsubid: don't print error messages on stderr by default 2021-05-15 12:38:55 -05:00
nscd.h
nss.c fix newusers when nss provides subids 2021-05-23 08:16:16 -05:00
pam_defs.h
port.c
port.h
prototypes.h semanage: close the selabel handle 2021-10-25 09:55:31 +02:00
pwauth.c fix spelling and unify whitespace 2021-08-18 18:06:02 +00:00
pwauth.h
pwio.c Use the lckpwdf() again if prefix is not set 2019-05-02 14:33:06 +02:00
pwio.h
pwmem.c lib: check NULL before freeing passwd data 2021-11-19 12:09:59 +01:00
run_part.c fix spelling and unify whitespace 2021-08-18 18:06:02 +00:00
run_part.h Adding run-parts style for pre and post useradd/del 2020-06-10 00:26:55 -05:00
selinux.c semanage: close the selabel handle 2021-10-25 09:55:31 +02:00
semanage.c semanage: close the selabel handle 2021-10-25 09:55:31 +02:00
sgetgrent.c lib/sgetgrent.c: change to warn when data remains 2019-10-04 18:30:41 -05:00
sgetpwent.c fix spelling and unify whitespace 2021-08-18 18:06:02 +00:00
sgetspent.c Remove unused variable 'cpp' 2020-04-25 12:10:39 +02:00
sgroupio.c Use the lckpwdf() again if prefix is not set 2019-05-02 14:33:06 +02:00
sgroupio.h
shadow.c Remove unused 'buf' in shadow.c 2020-04-25 12:23:10 +02:00
shadowio.c Use the lckpwdf() again if prefix is not set 2019-05-02 14:33:06 +02:00
shadowio.h Update _COMMONIO_H and _SHADOWIO_H to drop leading underscore 2016-12-21 12:45:50 -06:00
shadowmem.c lib: check NULL before freeing passwd data 2021-11-19 12:09:59 +01:00
spawn.c libsubid: don't print error messages on stderr by default 2021-05-15 12:38:55 -05:00
sssd.c lib/sssd: redirect warning message to file 2020-10-02 16:09:42 +02:00
sssd.h Flush sssd caches in addition to nscd caches 2018-09-13 14:20:02 +02:00
subordinateio.c fix spelling 2021-09-13 15:11:40 +00:00
subordinateio.h fix newusers when nss provides subids 2021-05-23 08:16:16 -05:00
tcbfuncs.c Add missing chmod() 2021-10-28 11:16:59 +11:00
tcbfuncs.h
utent.c