Skip to content

Commit dc957a0

Browse files
authored
fix: update mosquitto pattern (#3580)
Update mosquitto pattern to avoid false positives with libmosquittopp Signed-off-by: Fabrice Fontaine <[email protected]>
1 parent aa60bfe commit dc957a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cve_bin_tool/checkers/mosquitto.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@
1616
class MosquittoChecker(Checker):
1717
CONTAINS_PATTERNS: list[str] = []
1818
FILENAME_PATTERNS: list[str] = []
19-
VERSION_PATTERNS = [r"([0-9]+\.[0-9]+\.[0-9]+)\r?\nmosquitto"]
19+
VERSION_PATTERNS = [r"\r?\n([0-9]+\.[0-9]+\.[0-9]+)\r?\nmosquitto"]
2020
VENDOR_PRODUCT = [("eclipse", "mosquitto")]

0 commit comments

Comments
 (0)