10000 regex match: Fix unexpected match with empty meta data by ashie · Pull Request #3178 · collectd/collectd · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

regex match: Fix unexpected match with empty meta data #3178

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

Merged
merged 1 commit into from
Jun 29, 2019

Conversation

ashie
Copy link
Contributor
@ashie ashie commented Jun 18, 2019

ChangeLog: regex match: Fix unexpected match with empty meta data

If a user set

MetaData "foo" "bar"

and a metric does not have meta data (vl->meta == NULL), it causes
unexpected match.

Existance of MetaData config should be checked before meta data in
a metric.

See also: #1930

Signed-off-by: Takuro Ashie ashie@clear-code.com

If a user set

  MetaData "foo" "bar"

and a metric does not have meta data (vl->meta == NULL), it causes
unexpected match.

Existance of MetaData config should be checked before meta data in
a metric.

See also: collectd#1930

Signed-off-by: Takuro Ashie <ashie@clear-code.com>
@rpv-tomsk rpv-tomsk added the Bug A genuine bug label Jun 29, 2019
@rpv-tomsk
Copy link
Contributor

Thanks!

@rpv-tomsk rpv-tomsk merged commit e432485 into collectd:master Jun 29, 2019
@octo octo added Fix A pull request fixing a bug and removed Bug A genuine bug labels Jan 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Fix A pull request fixing a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0