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

Light property based test fixes #2988

Merged
merged 4 commits into from Oct 31, 2019

Conversation

mitzkia
Copy link
Collaborator

@mitzkia mitzkia commented Oct 29, 2019

This PR contains 4 fixes for bugs we've found with property-based testing method (using Light).
3 of them are trivial; the 4th (stomp() patch) fixes some buffer overrun issues that can be triggered remotely with suitably crafted input.

There are 3 more, but they deserve a separate PR as they are not that trivial.

Andras Mitzki and others added 4 commits October 28, 2019 23:37
Signed-off-by: Andras Mitzki <andras.mitzki@balabit.com>
Signed-off-by: László Várady <laszlo.varady@protonmail.com>
PR syslog-ng#2907 broke the example-random-generator() driver, this is a
follow-up commit.

Signed-off-by: Andras Mitzki <andras.mitzki@balabit.com>
Signed-off-by: László Várady <laszlo.varady@protonmail.com>
The template() option of pseudofile() is mandatory.
pseudofile() is used on pseudo file systems, such as /sys, /proc, and
/dev, so it requires a special output format that has to be specified
manually by the user.

Signed-off-by: Andras Mitzki <andras.mitzki@balabit.com>
Signed-off-by: László Várady <laszlo.varady@protonmail.com>
stomp() operates on input that is read from a socket.
It is not safe to assume anything about the input.

Signed-off-by: László Várady <laszlo.varady@protonmail.com>
@kira-syslogng
Copy link
Contributor

Build SUCCESS

Copy link
Collaborator

@Kokan Kokan left a comment

Choose a reason for hiding this comment

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

👍

@furiel
Copy link
Collaborator

furiel commented Oct 31, 2019

Sorry for the regression. :(

@furiel furiel merged commit cbba296 into syslog-ng:master Oct 31, 2019
@alltilla alltilla mentioned this pull request Dec 11, 2019
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

5 participants