Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.3:Update
pam_mount.3055
fix-segfault.dif
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fix-segfault.dif of Package pam_mount.3055
Index: pam_mount-1.34/src/pam_mount.c =================================================================== --- pam_mount-1.34.orig/src/pam_mount.c +++ pam_mount-1.34/src/pam_mount.c @@ -346,7 +346,9 @@ PAM_EXTERN EXPORT_SYMBOL int pam_sm_auth ret = pam_set_data(pamh, "pam_mount_system_authtok", authtok, clean_system_authtok); if (ret == PAM_SUCCESS) { - if (mlock(authtok, strlen(authtok) + 1) < 0) + if (authtok == NULL) + w4rn("authtok is NULL in session code\n"); + else if (mlock(authtok, strlen(authtok) + 1) < 0) w4rn("mlock authtok: %s\n", strerror(errno)); } else { l0g("error trying to save authtok for session code\n");
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor