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

stats: deindex pruned counters/clusters #2648

Merged
merged 2 commits into from
Mar 26, 2019
Merged

Conversation

alltilla
Copy link
Collaborator

Dynamic counters/clusters were freed after they became expired, but they stayed in the counter_index, which is used for get queries. When we tried to access these freed counters from the index, we got undefined behavior, possibly SEGFAULT.

Signed-off-by: Attila Szakacs [email protected]

Dynamic counters were freed after they became expired,
but they stayed in the `counter_index`, which is used for
`get` queries. When we tried to access these freed counters
from the index, we got undefined behavior, possibly SEGFAULT.

Signed-off-by: Attila Szakacs <[email protected]>
@kira-syslogng
Copy link
Contributor

Build SUCCESS

@lbudai lbudai added this to the syslog-ng-3.21 milestone Mar 26, 2019
@lbudai lbudai self-requested a review March 26, 2019 11:54
@MrAnno MrAnno merged commit 3520a69 into syslog-ng:master Mar 26, 2019
@MrAnno
Copy link
Collaborator

MrAnno commented Mar 26, 2019

Nice catch!

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