From 90afae422b070f28be285d1e5d6008ec24e75d96 Mon Sep 17 00:00:00 2001 From: Bill Somerville Date: Mon, 1 Apr 2019 11:01:39 +0100 Subject: [PATCH] UDP message client accepts any sender id on incoming datagrams This is a defect repair as it was intended that the message id is the sender identification but the erroneous implementation enforced it to be the receiver identification as sent with previous outgoing messages. --- MessageClient.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MessageClient.cpp b/MessageClient.cpp index 873ba1fd4..5bf23294b 100644 --- a/MessageClient.cpp +++ b/MessageClient.cpp @@ -152,7 +152,7 @@ void MessageClient::impl::parse_message (QByteArray const& msg) // message format is described in NetworkMessage.hpp // NetworkMessage::Reader in {msg}; - if (OK == check_status (in) && id_ == in.id ()) // OK and for us + if (OK == check_status (in)) { if (schema_ < in.schema ()) // one time record of server's // negotiated schema