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
commit105a9bd8bb6dda56c75de8c197c9c7373ac9b828 (patch)
tree4cf2d8cf172c10ec4bc433ee061d75cadee326cf /bin/gen-DSA
parentc2f039d0b28a3763adff8bd64d30fc91f4450ff8 (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