FreeBSD Bugzilla – Attachment 250918 Details for
Bug 279268
[patch] xdm dies when pressing CTRL-C if pam_xdg.so is used
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
pam_xdg.c.patch (text/plain), 642 bytes, created by
Andre Albsmeier
on 2024-05-24 08:36:57 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Andre Albsmeier
Created:
2024-05-24 08:36:57 UTC
Size:
642 bytes
patch
obsolete
>--- lib/libpam/modules/pam_xdg/pam_xdg.c.ORI 2024-05-19 10:59:42.000000000 +0200 >+++ lib/libpam/modules/pam_xdg/pam_xdg.c 2024-05-24 10:16:28.523710000 +0200 >@@ -67,7 +67,7 @@ > > /* Get user info */ > rv = pam_get_item(pamh, PAM_USER, (const void **)&user); >- if (rv != PAM_SUCCESS) { >+ if (rv != PAM_SUCCESS || user == NULL ) { > PAM_VERBOSE_ERROR("Can't get user information"); > goto out; > } >@@ -221,7 +221,7 @@ > > /* Get user info */ > rv = pam_get_item(pamh, PAM_USER, (const void **)&user); >- if (rv != PAM_SUCCESS) { >+ if (rv != PAM_SUCCESS || user == NULL ) { > PAM_VERBOSE_ERROR("Can't get user information"); > goto out; > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 279268
: 250918