Skip to content

Commit d78d40e

Browse files
feat: Add XML schema validation (Fixes intel#1507)
1 parent 047eecf commit d78d40e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cve_bin_tool/checkers/xml2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class Xml2Checker(Checker):
2828
@staticmethod
2929
def guess_xml2_version(lines):
3030
"""Guesses the xml2 version from the file contents"""
31-
new_guess = "UNKNOWN"
31+
new_guess = ""
3232
pattern1 = re.compile(r"/libxml2-([0-9]+\.[0-9]+\.[0-9]+)/")
3333
pattern2 = re.compile(r"\\libxml2-([0-9]+\.[0-9]+\.[0-9]+)\\")
3434
# fedora 29 string looks like libxml2.so.2.9.8-2.9.8-4.fc29.x86_64.debug

0 commit comments

Comments
 (0)