#
15bc7eaf |
| 08-Sep-2017 |
christos <christos@NetBSD.org> |
Use getpwuid_r instead of getpwuid, so that we don't trash getpw*() internal buffers.
kde does (kdm/client/backend.c): p = getpwnam(); pam_setcred() (which calls getpwuid in pam_afslog);
Use getpwuid_r instead of getpwuid, so that we don't trash getpw*() internal buffers.
kde does (kdm/client/backend.c): p = getpwnam(); pam_setcred() (which calls getpwuid in pam_afslog); setusercontext(...,p,p->pw_uid,...) (now with trashed p data...)
XXX: pullups.
show more ...
|