History log of /netbsd/crypto/external/bsd/heimdal/dist/cf/check-getpwuid_r-posix.m4 (Results 1 – 1 of 1)
Revision Date Author Comments
# 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 ...