Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP3:GA
sudo.27425
sudo-1.8.10p3-parse_boottime_properly.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File sudo-1.8.10p3-parse_boottime_properly.patch of Package sudo.27425
From https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=762465 --- a/plugins/sudoers/boottime.c +++ b/plugins/sudoers/boottime.c @@ -80,6 +80,8 @@ if (fp != NULL) { while ((len = getline(&line, &linesize, fp)) != -1) { if (strncmp(line, "btime ", 6) == 0) { + if (line[len - 1] == '\n') + line[len - 1] = '\0'; long long llval = strtonum(line + 6, 1, LLONG_MAX, NULL); if (llval > 0) { tv->tv_sec = (time_t)llval;
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