CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2026/07/29 05:01:03
Modified files:
lib/libc/gen : login_cap.3 login_cap.c
Log message:
Exclude LOGIN_SETXDGENV from flags when pwd is NULL
This follows LOGIN_SETGROUP and LOGIN_SETLOGIN which do the same.
Calling setusercontext with a NULL pwd argument should not cause
a crash. Skipping LOGIN_SETXDGENV in this case is fine since the
combination of now pwd entry and LOGIN_SETXDGENV makes no sense.
Documentation change suggested by deraadt@
OK jca@