summaryrefslogtreecommitdiffstats
path: root/check-external
diff options
context:
space:
mode:
authorRaphael Geissert <atomo64@gmail.com>2016-09-26 12:41:29 +0000
committerRaphael Geissert <atomo64@gmail.com>2016-09-26 12:41:29 +0000
commit90e6f9a0b8ea883371934d88acadf2c0810c9be9 (patch)
treeb3f336ed33adb22eb64defc94bf50cddef6fb99b /check-external
parent192729b9c7055fcfb1974b27bf98fc3f50221797 (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-xcheck-external/lookup.sh2
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"

© 2014-2024 Faster IT GmbH | imprint | privacy policy