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 | 095383eccd2fc8c6798a7bab0b979e783b80d5cb (patch) | |
tree | 05961484484a71f5eb32f7cad21a573b9569c9ee /bin | |
parent | 0817e50b32eace6912fd3e53efd095d4e4f12bab (diff) |
also parse CVE's enclosed in square brackets
Diffstat (limited to 'bin')
-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 |