git: d7110e4aba0c - main - security/vuxml: Fix missing <name> field

Craig Leres leres at FreeBSD.org
Thu Sep 23 01:04:21 UTC 2021


The branch main has been updated by leres:

URL: https://cgit.FreeBSD.org/ports/commit/?id=d7110e4aba0cbc6ebbb59172ae49be1430ea3e6e

commit d7110e4aba0cbc6ebbb59172ae49be1430ea3e6e
Author:     Craig Leres <leres at FreeBSD.org>
AuthorDate: 2021-09-23 01:03:25 +0000
Commit:     Craig Leres <leres at FreeBSD.org>
CommitDate: 2021-09-23 01:03:25 +0000

    security/vuxml: Fix missing <name> field
    
    I wasn't able to see my mistake based on the error "make validate"
    gave me:
    
        Traceback (most recent call last):
          File "/usr/local/poudriere/ports/current-patched/security/vuxml/files/extra-validation.py", line 99, in <module>
            if (re_invalid_package_name.search(name.text) is not None):
        TypeError: expected string or bytes-like object
        *** Error code 1
    
    Thanks to Dan for the pointy hat save.
    
    Reported by:    Dan Langille
---
 security/vuxml/vuln-2021.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/security/vuxml/vuln-2021.xml b/security/vuxml/vuln-2021.xml
index b79e50b7a119..fecf05af5156 100644
--- a/security/vuxml/vuln-2021.xml
+++ b/security/vuxml/vuln-2021.xml
@@ -2,7 +2,7 @@
     <topic>zeek -- several vulnerabilities</topic>
     <affects>
       <package>
-	<name></name>
+	<name>zeek</name>
 	<range><lt>4.0.4</lt></range>
       </package>
     </affects>


More information about the dev-commits-ports-all mailing list