[Secure-testing-commits] r44912 - check-external
Raphael Geissert
atomo64-guest at moszumanska.debian.org
Mon Sep 26 12:41:29 UTC 2016
Author: atomo64-guest
Date: 2016-09-26 12:41:29 +0000 (Mon, 26 Sep 2016)
New Revision: 44912
Modified:
check-external/lookup.sh
Log:
check-external: match full words when looking for a CVE id in CVE/list
Modified: check-external/lookup.sh
===================================================================
--- check-external/lookup.sh 2016-09-26 12:21:31 UTC (rev 44911)
+++ check-external/lookup.sh 2016-09-26 12:41:29 UTC (rev 44912)
@@ -87,7 +87,7 @@
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"
More information about the Secure-testing-commits
mailing list