We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b8fcf3b commit fa35800Copy full SHA for fa35800
cve_bin_tool/checkers/linuxptp.py
@@ -17,6 +17,6 @@ class LinuxptpChecker(Checker):
17
CONTAINS_PATTERNS: list[str] = []
18
FILENAME_PATTERNS: list[str] = []
19
VERSION_PATTERNS = [
20
- r"(?:ptp|PTP_)[A-Za-z0-9_:% \[\]\-\.\r\n]*\r?\n([0-9]\.[0-9])\r?\n"
+ r"[ \n]+(?:ptp|PTP_)[A-Za-z0-9_:% \[\]\-\.\r\n]*\r?\n([0-9]\.[0-9])\r?\n"
21
]
22
VENDOR_PRODUCT = [("linuxptp_project", "linuxptp")]
0 commit comments