Pārlūkot izejas kodu

Initialize SConnection's accessRights

Properties should be initialized in order to avoid random values in
case they are used earlier than expected.
tags/v1.12.90
Samuel Mannehed pirms 2 gadiem
vecāks
revīzija
ccf759cb51
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1
    1
      common/rfb/SConnection.cxx

+ 1
- 1
common/rfb/SConnection.cxx Parādīt failu

@@ -59,7 +59,7 @@ SConnection::SConnection()
is(0), os(0), reader_(0), writer_(0), ssecurity(0),
authFailureTimer(this, &SConnection::handleAuthFailureTimeout),
state_(RFBSTATE_UNINITIALISED), preferredEncoding(encodingRaw),
clientClipboard(NULL), hasLocalClipboard(false),
accessRights(0x0000), clientClipboard(NULL), hasLocalClipboard(false),
unsolicitedClipboardAttempt(false)
{
defaultMajorVersion = 3;

Notiek ielāde…
Atcelt
Saglabāt