From dcef8c9391c6807b833b3d5d0236de9a8fddb357 Mon Sep 17 00:00:00 2001 From: Michael Thompson Date: Wed, 5 Jul 2017 20:44:36 -0700 Subject: [PATCH] Update MessageHandlers.cpp --- xpcPlugin/MessageHandlers.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xpcPlugin/MessageHandlers.cpp b/xpcPlugin/MessageHandlers.cpp index 6dd9b69..d7a9b5e 100644 --- a/xpcPlugin/MessageHandlers.cpp +++ b/xpcPlugin/MessageHandlers.cpp @@ -598,7 +598,7 @@ namespace XPC Log::FormatLine(LOG_TRACE, "SIMU", "Message Received (Conn %i)", connection.id); char v = msg.GetBuffer()[5]; - if (v < 0 || v > 2) + if (v < 0 || (v > 2 && v <10) || v > 20) //Start here { Log::FormatLine(LOG_ERROR, "SIMU", "ERROR: Invalid argument: %i", v); return;