[Secure-testing-commits] r28141 - bin

Salvatore Bonaccorso carnil at moszumanska.debian.org
Fri Aug 8 06:36:31 UTC 2014


Author: carnil
Date: 2014-08-08 06:36:31 +0000 (Fri, 08 Aug 2014)
New Revision: 28141

Modified:
   bin/report-vuln
Log:
Allow numeric characters in package name

See https://www.debian.org/doc/debian-policy/ch-controlfields.html#s-f-Source

Modified: bin/report-vuln
===================================================================
--- bin/report-vuln	2014-08-08 06:28:07 UTC (rev 28140)
+++ bin/report-vuln	2014-08-08 06:36:31 UTC (rev 28141)
@@ -180,7 +180,7 @@
 		cve = sys.argv[2:]
 
 	# check for valid parameters
-	p = re.compile('^[a-z].*')
+	p = re.compile('^[0-9a-z].*')
 	c = re.compile('(CVE|cve)\-[0-9]{4}-[0-9]{4,}')
 
 	if not p.match(pkg):




More information about the Secure-testing-commits mailing list