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

Fix event formatting with missing params #6247

Merged
merged 2 commits into from
Feb 8, 2018

Conversation

adriansr
Copy link
Contributor

@adriansr adriansr commented Jan 31, 2018

There was a crash in the eventlogging module used in legacy Windows versions (XP and 2003 server). It is necessary to account for the case where an event contains fewer parameters than required by its format string. This is accomplished by always providing the maximum allowed number of parameters (99).

Needs backport to 5.6

Closes #6234

There was a crash in the eventlogging module used in legacy Windows
versions (XP and 2003 server). It is necessary to account for the case
where an event contains fewer parameters than required by its format
string.

Closes elastic#6234
@adriansr adriansr added bug Winlogbeat needs_backport PR is waiting to be backported to other branches. labels Jan 31, 2018
@adriansr adriansr requested a review from andrewkroh January 31, 2018 22:28
Copy link
Member

@andrewkroh andrewkroh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. I like the final solution you came up here.

@andrewkroh andrewkroh merged commit a0ec41d into elastic:master Feb 8, 2018
@adriansr adriansr removed the needs_backport PR is waiting to be backported to other branches. label Jun 15, 2018
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.

2 participants