From 916af817796c1da121c1ca939dafe00d8069f413 Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Tue, 23 Jun 2015 15:29:37 +0200 Subject: [PATCH] Fix infinite update caused by b64dbf2 The bug fix in b64dbf2 didn't account for the proper request region in the case of continuous updates. Make sure we use the proper variable for which region we've sent updates for. (cherry picked from commit 3c56d4f3c7fc2d706acd114d1abb04e9a338dbea) --- common/rfb/VNCSConnectionST.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/rfb/VNCSConnectionST.cxx b/common/rfb/VNCSConnectionST.cxx index c63e6b62..49975cbf 100644 --- a/common/rfb/VNCSConnectionST.cxx +++ b/common/rfb/VNCSConnectionST.cxx @@ -1058,7 +1058,7 @@ void VNCSConnectionST::writeFramebufferUpdate() // The request might be for just part of the screen, so we cannot // just clear the entire update tracker. - updates.subtract(requested); + updates.subtract(req); requested.clear(); } -- 2.39.5