diff options
author | Anton D. Kachalov <rnouse@google.com> | 2020-09-29 23:20:57 +0200 |
---|---|---|
committer | Tomáš Mráz <tmraz@redhat.com> | 2020-09-30 18:37:00 +0200 |
commit | e21fd1f344a67844925ab9a06b0f54299c94b56c (patch) | |
tree | bd24ad22b46c997d5e18be8c14374b295e2d0436 /modules/pam_namespace | |
parent | a3a5cbf86083c43026b558e2023f597530626267 (diff) | |
download | pam-e21fd1f344a67844925ab9a06b0f54299c94b56c.tar.gz pam-e21fd1f344a67844925ab9a06b0f54299c94b56c.tar.bz2 pam-e21fd1f344a67844925ab9a06b0f54299c94b56c.zip |
Prevent SEGFAULT for unknown UID
When running systemd service with DynamicUser being set, the dynamic UID
might be not mapped to user name (/etc/nsswitch.conf is not configured
with systemd nss module).
The getuidname() routine might return NULL and this is not checked by callee.
Signed-off-by: Anton D. Kachalov <rnouse@google.com>
Diffstat (limited to 'modules/pam_namespace')
0 files changed, 0 insertions, 0 deletions