Skip to content

Commit b605e46

Browse files
fix: android cups library (#5443)
fix cups version pattern to catch version in android libraries
1 parent 161560d commit b605e46

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cve_bin_tool/checkers/cups.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class CupsChecker(Checker):
2626
# r"cupsdAddSubscription: Reached MaxSubscriptions %d \(count=%d\)",
2727
]
2828
FILENAME_PATTERNS = [r"cups"]
29-
VERSION_PATTERNS = [r"CUPS v([0-9]+\.[0-9]+\.[0-9]+)"]
29+
VERSION_PATTERNS = [r"CUPS(?: v|/)([0-9]+\.[0-9]+\.[0-9]+)"]
3030
VENDOR_PRODUCT = [
3131
("apple", "cups"),
3232
("cups", "cups"),

0 commit comments

Comments
 (0)