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 a bug in the old LogMessage deserialization #2103

Merged
merged 1 commit into from
Jun 11, 2018

Conversation

MrAnno
Copy link
Collaborator

@MrAnno MrAnno commented Jun 10, 2018

sd_element_name is a pointer, sizeof() can not be called on it to determine the array size.

Detected by gcc 8.1.1, configured with --enable-extra-warnings.

sd_element_name is a pointer, sizeof() can not be called on it to determine
the array size.

Signed-off-by: László Várady <[email protected]>
@MrAnno MrAnno requested a review from Kokan June 10, 2018 22:58
@kira-syslogng
Copy link
Contributor

Build SUCCESS

@Kokan
Copy link
Collaborator

Kokan commented Jun 11, 2018

Nice catch! I am kinda sad that it works anyway.

@Kokan Kokan merged commit fe4324d into syslog-ng:master Jun 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants