Skip to content

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