Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.1:Update
monitoring-plugins
monitoring-plugins.check_ntp.c-64bit-portabilit...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File monitoring-plugins.check_ntp.c-64bit-portability-issue.patch of Package monitoring-plugins
Index: monitoring-plugins-2.0/plugins/check_ntp.c =================================================================== --- monitoring-plugins-2.0.orig/plugins/check_ntp.c +++ monitoring-plugins-2.0/plugins/check_ntp.c @@ -616,7 +616,7 @@ double jitter_request(const char *host, if (bytes_read != ntp_cm_ints + req.count) die(STATE_UNKNOWN, _("Invalid NTP response: %d bytes read does not equal %d plus %d data segment"), bytes_read, ntp_cm_ints, req.count); /* else null terminate */ - strncpy(req.data[req.count], "\0", 1); + req.data[req.count] = "\0"; DBG(print_ntp_control_message(&req));
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