Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Step:15-SP4
shadow
shadow-bsc1188307-passwd-segfault.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File shadow-bsc1188307-passwd-segfault.patch of Package shadow
Upstream: adb83f779618674e5e96e27e3d48559d62e2c410 Index: shadow-4.8.1/src/passwd.c =================================================================== --- shadow-4.8.1.orig/src/passwd.c +++ shadow-4.8.1/src/passwd.c @@ -486,9 +486,12 @@ static void print_status (const struct p ((long long)sp->sp_max * SCALE) / DAY, ((long long)sp->sp_warn * SCALE) / DAY, ((long long)sp->sp_inact * SCALE) / DAY); - } else { + } else if (NULL != pw->pw_passwd) { (void) printf ("%s %s\n", pw->pw_name, pw_status (pw->pw_passwd)); + } else { + (void) fprintf(stderr, _("%s: malformed password data obtained for user %s\n"), + Prog, pw->pw_name); } }
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