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
commit2b48adadb65d4d5db707a479d1f6c9d89798e2aa (patch)
tree5875166c8c8fd861febf74318fc509d72403a65b /check-external
parent3a691757bb93136e95e50448c35f0c5177933a00 (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