[Secure-testing-commits] r52721 - bin

Ben Hutchings benh at moszumanska.debian.org
Tue Jun 20 00:41:01 UTC 2017


Author: benh
Date: 2017-06-20 00:41:01 +0000 (Tue, 20 Jun 2017)
New Revision: 52721

Modified:
   bin/gen-DSA
Log:
gen-DSA: Accept more punctuation characters around CVE IDs in changes file


Modified: bin/gen-DSA
===================================================================
--- bin/gen-DSA	2017-06-20 00:32:54 UTC (rev 52720)
+++ bin/gen-DSA	2017-06-20 00:41:01 UTC (rev 52721)
@@ -206,7 +206,7 @@
     for bug in $(awk '/^Closes: / {sub(".*"$2,$2); print $0}' $CHANGES); do
         BUGNUM="$BUGNUM ${bug#\#}"
     done
-    for cve in $(awk 'BEGIN {RS="[ ():\n]" } /^CVE-[0-9]+-[0-9]+$/ {print $1}' $CHANGES); do
+    for cve in $(awk 'BEGIN {RS="[ ().,:;\n]" } /^CVE-[0-9]+-[0-9]+$/ {print $1}' $CHANGES); do
         CVE="$CVE $cve"
     done
 fi




More information about the Secure-testing-commits mailing list