Skip to content

Commit 03f4540

Browse files
ffontaineinosmeet
authored andcommitted
fix: update coreutils pattern (intel#3616)
Update coreutils pattern to avoid a false positive in standards.info Signed-off-by: Fabrice Fontaine <[email protected]>
1 parent 5026a8a commit 03f4540

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cve_bin_tool/checkers/coreutils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@ class CoreutilsChecker(Checker):
1818
FILENAME_PATTERNS: list[str] = []
1919
VERSION_PATTERNS = [
2020
r"coreutils-([0-9]+\.[0-9]+)",
21-
r"coreutils[a-zA-Z0-9:%'<>_/=!, \.\-\(\)\r\n]*\r?\n([0-9]+\.[0-9]+)",
21+
r"coreutils[a-zA-Z0-9:%'<>_/=!, \.\-\(\)\r\n]*\r?\n([0-9]+\.[0-9]+)\r?\n",
2222
]
2323
VENDOR_PRODUCT = [("gnu", "coreutils")]

0 commit comments

Comments
 (0)