Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP2:GA
pam.35143
pam-bsc1197024-free-addrinfo-before-return.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File pam-bsc1197024-free-addrinfo-before-return.patch of Package pam.35143
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 @@ -801,10 +801,16 @@ network_netmask_match (pam_handle_t *pam hint.ai_family = AF_UNSPEC; if (item->gai_rv != 0) + { + freeaddrinfo(ai); return NO; + } else if (!item->res && (item->gai_rv = getaddrinfo (string, NULL, &hint, &item->res)) != 0) + { + freeaddrinfo(ai); return NO; + } else { struct addrinfo *runp = item->res;
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