Skip to content

Commit 0eae0cb

Browse files
authored
fix: update dlt-daemon checker (#4701)
Update dlt-daemon pattern to avoid the following false positive with some 'exotic' libpcap library: IEEE 802.15.4 DLT_SITA Signed-off-by: Fabrice Fontaine <[email protected]>
1 parent 1b72bfa commit 0eae0cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cve_bin_tool/checkers/dlt_daemon.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@ class DltDaemonChecker(Checker):
1717
CONTAINS_PATTERNS: list[str] = []
1818
FILENAME_PATTERNS: list[str] = []
1919
VERSION_PATTERNS = [
20-
r"([0-9]+\.[0-9]+\.[0-9]+)\r?\n[A-Za-z0-9+_:%(), \[\]\.\-\r\n]*DLT(?:_| Package Version)"
20+
r"\r?\n([0-9]+\.[0-9]+\.[0-9]+)\r?\n[A-Za-z0-9+_:%(), \[\]\.\-\r\n]*DLT(?:_| Package Version)"
2121
]
2222
VENDOR_PRODUCT = [("covesa", "dlt-daemon")]

0 commit comments

Comments
 (0)