diff options
author | Thijs Kinkhorst <thijs@kinkhorst.com> | 2019-03-23 18:17:15 +0000 |
---|---|---|
committer | Thijs Kinkhorst <thijs@kinkhorst.com> | 2019-03-23 18:17:15 +0000 |
commit | 0bee654212ca54f6c051a834a9ad6481ba843904 (patch) | |
tree | c592e3d00ac9a17507b7f9c229fe6d6f0b7643ca /bin/gen-DSA | |
parent | 4b6260c0901a5ffbdfe226bc05ea398aee0fb6a5 (diff) |
also parse CVE's enclosed in square brackets
Diffstat (limited to 'bin/gen-DSA')
-rwxr-xr-x | bin/gen-DSA | 2 |
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 |