common/MessageQueue.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 7606bad9d3a85ae286d1a668e99283ffebe8b935 Author: Jan Holesovsky <ke...@collabora.com> Date: Wed Jan 25 19:42:36 2017 +0100 Fix a size check. Change-Id: I509d12dcde6f56a2a7a9ee244e721d8028dec501 diff --git a/common/MessageQueue.cpp b/common/MessageQueue.cpp index 54f1871..05bdf58 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,") _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits