diff options
| author | Ian Lepore <ian@FreeBSD.org> | 2018-07-22 22:34:20 +0000 |
|---|---|---|
| committer | Ian Lepore <ian@FreeBSD.org> | 2018-07-22 22:34:20 +0000 |
| commit | 8517a3136742981ad794e45454b834c050c3b016 (patch) | |
| tree | 94be474abe336ecb547972057cd4f7a928ab89a0 /pw/pw_vpw.c | |
| parent | 1d9542a320d803b9bea3971687ccf33b252f2401 (diff) | |
| download | pw-darwin-8517a3136742981ad794e45454b834c050c3b016.tar.gz pw-darwin-8517a3136742981ad794e45454b834c050c3b016.zip | |
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.
Diffstat (limited to 'pw/pw_vpw.c')
0 files changed, 0 insertions, 0 deletions
