From 07761e434715a4fe5a05d29afdbb1569d117f37b Mon Sep 17 00:00:00 2001 From: Salvatore Bonaccorso Date: Wed, 12 Jan 2022 20:54:05 +0100 Subject: gen-DSA: Allow one more digit for the old style bug number format The # prefixed bugnumber format was prefered to pass to the script, still we have the alternative of the digits only. Just bump the allowed digits by one now that we reached the 100000's bug. Signed-off-by: Salvatore Bonaccorso --- bin/gen-DSA | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/gen-DSA b/bin/gen-DSA index f909ca504d..b23608ab84 100755 --- a/bin/gen-DSA +++ b/bin/gen-DSA @@ -195,7 +195,7 @@ while [ $# -gt 0 ]; do [cC][vV][eE]-*) CVE="$CVE $(toupper "$1")" ;; - [0-9][0-9][0-9][0-9][0-9][0-9]|[#][0-9]*) + [0-9][0-9][0-9][0-9][0-9][0-9][0-9]|[#][0-9]*) BUGNUM="$BUGNUM ${1#\#}" ;; *) -- cgit v1.2.3