Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP1:Update
pacemaker
pacemaker-libcrmcommon-crm_time_t-initialized-1...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File pacemaker-libcrmcommon-crm_time_t-initialized-1.patch of Package pacemaker
commit fa537f2266b6a85fec8eedc50e004f79dc28a32d Author: Ken Gaillot <kgaillot@redhat.com> Date: Thu Jun 2 16:23:14 2016 -0500 Fix: libcrmcommon: ensure crm_time_t structure is fully initialized by API calls makes coverity happy diff --git a/lib/common/iso8601.c b/lib/common/iso8601.c index 06b0a74..d0be0cf 100644 --- a/lib/common/iso8601.c +++ b/lib/common/iso8601.c @@ -1001,6 +1001,8 @@ ha_set_tm_time(crm_time_t * target, struct tm *source) int h_offset = 0; int m_offset = 0; + target->duration = FALSE; + if (source->tm_year > 0) { /* years since 1900 */ target->years = 1900 + source->tm_year;
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