Skip to content

Commit

Permalink
fix: improve nbd checker (#2715)
Browse files Browse the repository at this point in the history
Update nbd pattern to avoid false positive with upcoming linux_kernel
checker

Signed-off-by: Fabrice Fontaine <fabrice.fontaine@orange.com>
  • Loading branch information
ffontaine authored Feb 22, 2023
1 parent a356a05 commit c47d112
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cve_bin_tool/checkers/nbd.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ class NbdChecker(Checker):
VERSION_PATTERNS = [
r"nbd-server version ([0-9]+\.[0-9]+(\.[0-9]+)*)",
r"\r?\nnbd ([0-9]+\.[0-9]+(\.[0-9]+)*)",
r"([0-9]+\.[0-9]+(\.[0-9]+)*)\r?\nnbd",
r"\r?\n([0-9]+\.[0-9]+(\.[0-9]+)*)\r?\nnbd",
]
VENDOR_PRODUCT = [("network_block_device_project", "network_block_device")]

0 comments on commit c47d112

Please sign in to comment.