Closed icinga-migration closed 8 years ago
Updated by ricardo on 2016-06-23 22:01:09 +00:00
Thank you for reporting.
Added changes to CGIs.
Cheers Ricardo
Updated by ricardo on 2016-06-23 22:30:50 +00:00
Cheers Ricardo
Updated by ricardo on 2016-07-18 21:05:48 +00:00
This issue has been migrated from Redmine: https://dev.icinga.com/issues/11048
Created by fcolle on 2016-01-28 10:33:15 +00:00
Assignee: ricardo Status: Resolved (closed on 2016-07-18 21:05:48 +00:00) Target Version: 1.14 Last Update: 2016-07-18 21:05:48 +00:00 (in Redmine)
In cgiutils.c, rev #31dd493a and previous versions, the function void
contains this code:
According to man pages, both gmtime() and localtime() functions can return NULL values on error. In that case, the following lines cause a segfault of the caller cgi.
A possible solution is to read again the current time from the OS (less likely to return NULL):
This solution worked on my installation with Icinga2, classic UI and 2000 monitored hosts.
Changesets
2016-02-02 20:48:36 +00:00 by ricardo a3f736edf2da803ca422b26d436da5389a51665a