Skip to content

Commit

Permalink
fix: update dnsmasq checker (#4165)
Browse files Browse the repository at this point in the history
Update dnsmasq pattern to catch version in 'exotic' dnsmasq binary

Signed-off-by: Fabrice Fontaine <fabrice.fontaine@orange.com>
  • Loading branch information
ffontaine authored Jun 10, 2024
1 parent 13d13f5 commit 4310c04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cve_bin_tool/checkers/dnsmasq.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class DnsmasqChecker(Checker):
VERSION_PATTERNS = [
r"dnsmasq-[a-z_]*([0-9]+\.[0-9]+)",
r"([0-9]+\.[0-9]+)\r?\nDnsmasq version %s",
r"Dnsmasq version %s %s\r?\n([0-9]+\.[0-9]+)",
r"Dnsmasq version (?:|%s %s\r?\n)([0-9]+\.[0-9]+)",
r"([0-9]+\.[0-9]+)\r?\nstarted, version %s DNS disabled",
]
VENDOR_PRODUCT = [
Expand Down

0 comments on commit 4310c04

Please sign in to comment.