Skip to content

Commit

Permalink
feat: Add XML schema validation (Fixes intel#1507)
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonyharrison committed Jan 26, 2022
1 parent 047eecf commit d78d40e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cve_bin_tool/checkers/xml2.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class Xml2Checker(Checker):
@staticmethod
def guess_xml2_version(lines):
"""Guesses the xml2 version from the file contents"""
new_guess = "UNKNOWN"
new_guess = ""
pattern1 = re.compile(r"/libxml2-([0-9]+\.[0-9]+\.[0-9]+)/")
pattern2 = re.compile(r"\\libxml2-([0-9]+\.[0-9]+\.[0-9]+)\\")
# fedora 29 string looks like libxml2.so.2.9.8-2.9.8-4.fc29.x86_64.debug
Expand Down

0 comments on commit d78d40e

Please sign in to comment.