]> git.cameronkatri.com Git - pw-darwin.git/commit
Set the pw_class field to NULL when scanning the non-master passwd file.
authorIan Lepore <ian@FreeBSD.org>
Sun, 22 Jul 2018 22:34:20 +0000 (22:34 +0000)
committerIan Lepore <ian@FreeBSD.org>
Sun, 22 Jul 2018 22:34:20 +0000 (22:34 +0000)
commit8517a3136742981ad794e45454b834c050c3b016
tree94be474abe336ecb547972057cd4f7a928ab89a0
parent1d9542a320d803b9bea3971687ccf33b252f2401
Set the pw_class field to NULL when scanning the non-master passwd file.
This avoids a null pointer deref in pw_dup(), which assumes that all
pointers are either NULL or valid.
libc/gen/pw_scan.c