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

value-pairs: Ignore empty values in SDATA too #28

Merged
merged 1 commit into from
Dec 5, 2013

Conversation

algernon
Copy link
Contributor

@algernon algernon commented Dec 4, 2013

The value-pairs framework ignored empty values when they were explicitly
specified as such, but when they came through via SDATA or any other
means, it treated them as empty strings, and allowed them through. This
was inconsistent, and a waste too.

This patch corrects that behaviour, and empty-valued SDATA members will
not pass through anymore.

Reported-by: Lucas McLane lucas@clicksecurity.com
Signed-off-by: Gergely Nagy algernon@balabit.hu

The value-pairs framework ignored empty values when they were explicitly
specified as such, but when they came through via SDATA or any other
means, it treated them as empty strings, and allowed them through. This
was inconsistent, and a waste too.

This patch corrects that behaviour, and empty-valued SDATA members will
not pass through anymore.

Reported-by: Lucas McLane <lucas@clicksecurity.com>
Signed-off-by: Gergely Nagy <algernon@balabit.hu>
bazsi added a commit that referenced this pull request Dec 5, 2013
value-pairs: Ignore empty values in SDATA too
@bazsi bazsi merged commit 032486f into master Dec 5, 2013
@algernon algernon deleted the merge/f/value-pairs/skip-empty branch December 5, 2013 10:22
szemere pushed a commit to szemere/syslog-ng that referenced this pull request Jul 2, 2020
bazsi pushed a commit to bazsi/syslog-ng that referenced this pull request May 17, 2024
axosyslog: add scl.conf to scl package
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.

None yet

2 participants