summaryrefslogtreecommitdiffstats
path: root/bin/gen-DSA
diff options
context:
space:
mode:
authorThijs Kinkhorst <thijs@kinkhorst.com>2019-03-23 18:17:15 +0000
committerThijs Kinkhorst <thijs@kinkhorst.com>2019-03-23 18:17:15 +0000
commit0bee654212ca54f6c051a834a9ad6481ba843904 (patch)
treec592e3d00ac9a17507b7f9c229fe6d6f0b7643ca /bin/gen-DSA
parent4b6260c0901a5ffbdfe226bc05ea398aee0fb6a5 (diff)
also parse CVE's enclosed in square brackets
Diffstat (limited to 'bin/gen-DSA')
-rwxr-xr-xbin/gen-DSA2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/gen-DSA b/bin/gen-DSA
index 230a4bfe17..e89786730e 100755
--- a/bin/gen-DSA
+++ b/bin/gen-DSA
@@ -206,7 +206,7 @@ if ! [ -z "$CHANGES" ]; then
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

© 2014-2024 Faster IT GmbH | imprint | privacy policy