Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15:Update
pam.32004
use-correct-IP-address.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File use-correct-IP-address.patch of Package pam.32004
Index: Linux-PAM-1.3.0/modules/pam_access/pam_access.c =================================================================== --- Linux-PAM-1.3.0.orig/modules/pam_access/pam_access.c +++ Linux-PAM-1.3.0/modules/pam_access/pam_access.c @@ -728,7 +728,7 @@ network_netmask_match (pam_handle_t *pam /* check netmask */ if (isipaddr(netmask_ptr, NULL, NULL) == NO) - { /* netmask as integre value */ + { /* netmask as integer value */ char *endptr = NULL; netmask = strtol(netmask_ptr, &endptr, 0); if ((endptr == NULL) || (*endptr != '\0')) @@ -772,9 +772,9 @@ network_netmask_match (pam_handle_t *pam ai = NULL; /* just to be on the safe side */ - if (getaddrinfo (string, NULL, &hint, &ai) != 0) + if (getaddrinfo (tok, NULL, &hint, &ai) != 0) { - pam_syslog(pamh, LOG_ERR, "cannot resolve hostname \"%s\"", string); + pam_syslog(pamh, LOG_ERR, "cannot resolve hostname \"%s\"", tok); return NO; }
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