Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:hlin
opensuse
openssh-4.1p1-strict-aliasing-fix.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File openssh-4.1p1-strict-aliasing-fix.diff of Package opensuse
--- auth-pam.c +++ auth-pam.c @@ -389,7 +389,8 @@ u_int i; const char *pam_user; - pam_get_item(sshpam_handle, PAM_USER, (void **)&pam_user); + const char **ptr_pam_user = &pam_user; + pam_get_item(sshpam_handle, PAM_USER, (const void **)ptr_pam_user); environ[0] = NULL; if (sshpam_authctxt != NULL) { @@ -515,11 +516,12 @@ { extern char *__progname; const char *pam_rhost, *pam_user, *user = authctxt->user; + const char **ptr_pam_user = &pam_user; if (sshpam_handle != NULL) { /* We already have a PAM context; check if the user matches */ sshpam_err = pam_get_item(sshpam_handle, - PAM_USER, (void **)&pam_user); + PAM_USER, (const void **)ptr_pam_user); if (sshpam_err == PAM_SUCCESS && strcmp(user, pam_user) == 0) return (0); pam_end(sshpam_handle, sshpam_err);
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