Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

base/utils.c: correct calculate_time_from_day_of_month() for negative day offsets #450

Merged
merged 6 commits into from Dec 8, 2017

Conversation

ghost
Copy link

@ghost ghost commented Nov 4, 2017

When called with a negative time offset, function "calculate_time_from_day_of_month()"
used an incompletely initialized "struct tm t".
This may lead to an incorrect computation of the last day of a month, depending on the stack content.

@hedenface hedenface changed the base branch from master to maint December 8, 2017 21:59
@hedenface hedenface changed the base branch from maint to nagios-4.4.0-alpha1 December 8, 2017 21:59
@hedenface hedenface self-assigned this Dec 8, 2017
@hedenface hedenface added this to the 4.4.0 milestone Dec 8, 2017
@hedenface hedenface merged commit 1606cfa into NagiosEnterprises:nagios-4.4.0-alpha1 Dec 8, 2017
hedenface added a commit that referenced this pull request Dec 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant