summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@collabora.com>2017-01-25 19:42:36 +0100
committerJan Holesovsky <kendy@collabora.com>2017-01-25 19:42:36 +0100
commit7606bad9d3a85ae286d1a668e99283ffebe8b935 (patch)
treeb9e0ea21880b3c0d89b7e351ff78d113a652f408
parente35882318fc6f2b8471d6b9feca59a5183f2defd (diff)
Fix a size check.feature/deduplication
Change-Id: I509d12dcde6f56a2a7a9ee244e721d8028dec501
-rw-r--r--common/MessageQueue.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/MessageQueue.cpp b/common/MessageQueue.cpp
index 54f18715c..05bdf58c3 100644
--- a/common/MessageQueue.cpp
+++ b/common/MessageQueue.cpp
@@ -158,7 +158,7 @@ bool extractRectangle(const std::vector<std::string>& tokens, int& x, int& y, in
h = INT_MAX;
part = 0;
- if (tokens.size() < 4)
+ if (tokens.size() < 5)
return false;
if (tokens[3] == "EMPTY,")