forked from collectd/collectd
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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: collectd#1930 Signed-off-by: Takuro Ashie <ashie@clear-code.com>
- Loading branch information
Showing
1 changed file
with
14 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters