Skip to content

Commit

Permalink
Revert "bug: set default version for xml2 checker to UNKNOWN (fixes i…
Browse files Browse the repository at this point in the history
…ntel#1517)"

This reverts commit 076e16f.
  • Loading branch information
anthonyharrison committed Jan 12, 2022
1 parent 076e16f commit 9f48d52
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 9f48d52

Please sign in to comment.