File tree Expand file tree Collapse file tree 2 files changed +10
-3
lines changed
Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ class Xml2Checker(Checker):
2323 ]
2424 FILENAME_PATTERNS = [r"libxml2.so." ]
2525 VERSION_PATTERNS : list [str ] = [
26- r"libxml2- ([0-9]+\.[0-9]+\.[0-9]+)" ,
27- r"libxml2.so. ([0-9]+\.[0-9]+\.[0-9]+)" ,
26+ r"libxml2(?:-|\.so\.) ([0-9]+\.[0-9]+\.[0-9]+)" ,
27+ r"([0-9]+\.[0-9]+\.[0-9]+)[a-z0-9>\-\r\n]*XML_ENTITY_REF_NODE " ,
2828 ]
2929 VENDOR_PRODUCT = [("xmlsoft" , "libxml2" )]
Original file line number Diff line number Diff line change 66 "product" : "libxml2" ,
77 "version" : "2.9.0" ,
88 "version_strings" : ["/libxml2-2.9.0/" , "xmlNewElementContent : name != NULL !" ],
9- }
9+ },
10+ {
11+ "product" : "libxml2" ,
12+ "version" : "2.9.9" ,
13+ "version_strings" : [
14+ "20909-GITv2.9.9-rc2-2-g7c4949afa\n -->\n XML_ENTITY_REF_NODE"
15+ ],
16+ },
1017]
1118package_test_data = [
1219 {
You can’t perform that action at this time.
0 commit comments