diff options
author | Raphael Geissert <atomo64@gmail.com> | 2016-09-26 12:41:29 +0000 |
---|---|---|
committer | Raphael Geissert <atomo64@gmail.com> | 2016-09-26 12:41:29 +0000 |
commit | 90e6f9a0b8ea883371934d88acadf2c0810c9be9 (patch) | |
tree | b3f336ed33adb22eb64defc94bf50cddef6fb99b /check-external | |
parent | 192729b9c7055fcfb1974b27bf98fc3f50221797 (diff) |
check-external: match full words when looking for a CVE id in CVE/list
git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@44912 e39458fd-73e7-0310-bf30-c45bca0a0e42
Diffstat (limited to 'check-external')
-rwxr-xr-x | check-external/lookup.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/check-external/lookup.sh b/check-external/lookup.sh index f435b247b8..69ad61c46f 100755 --- a/check-external/lookup.sh +++ b/check-external/lookup.sh @@ -87,7 +87,7 @@ for cve in $(< $source); do fi # Permanent exclusions can be added below - o="$(grep -m1 -A2 ^$cve ../data/CVE/list | sed '1{d;q}')" || continue + o="$(grep -m1 -A2 -w ^$cve ../data/CVE/list | sed '1{d;q}')" || continue if [ -z "$o" ]; then echo "$cve: missing from list" |