aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--dm/DM.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/dm/DM.cpp b/dm/DM.cpp
index db9eacac2c..256014e5da 100644
--- a/dm/DM.cpp
+++ b/dm/DM.cpp
@@ -353,7 +353,7 @@ static bool match(const char* needle, const char* haystack) {
static ImplicitString is_blacklisted(const char* sink, const char* src,
const char* srcOptions, const char* name) {
- for (int i = 0; i < FLAGS_blacklist.count() - 2; i += 4) {
+ for (int i = 0; i < FLAGS_blacklist.count() - 3; i += 4) {
if (match(FLAGS_blacklist[i+0], sink) &&
match(FLAGS_blacklist[i+1], src) &&
match(FLAGS_blacklist[i+2], srcOptions) &&