VirtualBox

Changeset 107526 in vbox for trunk


Ignore:
Timestamp:
Jan 8, 2025 3:24:26 PM (10 days ago)
Author:
vboxsync
Message:

src/VBox/Main/include/MachineImpl[.h|.cpp]: Fixed warnings found by Parfait (uninitialized attributes). Left a @todo. jiraref:VBP-1424

Location:
trunk/src/VBox/Main
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/include/MachineImpl.h

    r106516 r107526  
    218218
    219219#ifdef VBOX_WITH_FULL_VM_ENCRYPTION
    220         /* Store for secret keys. */
    221         SecretKeyStore      *mpKeyStore;
     220        /** Store for secret keys. */
     221        SecretKeyStore     *mpKeyStore;
     222        /** @todo r=andy Document me ... what is encrypted? Rename to mfEncrypted. */
    222223        BOOL                fEncrypted;
    223         /* KeyId of the password encrypting the DEK */
     224        /** KeyId of the password encrypting the DEK */
    224225        com::Utf8Str        mstrKeyId;
    225         /* Store containing the DEK used for encrypting the VM */
     226        /** Store containing the DEK used for encrypting the VM */
    226227        com::Utf8Str        mstrKeyStore;
    227         /* KeyId of the password encrypting the DEK for log files */
     228        /** KeyId of the password encrypting the DEK for log files */
    228229        com::Utf8Str        mstrLogKeyId;
    229         /* Store containing the DEK used for encrypting the VM's log files */
     230        /** Store containing the DEK used for encrypting the VM's log files */
    230231        com::Utf8Str        mstrLogKeyStore;
    231232#endif
  • trunk/src/VBox/Main/src-server/MachineImpl.cpp

    r107262 r107526  
    213213#ifdef VBOX_WITH_FULL_VM_ENCRYPTION
    214214    mpKeyStore                 = NULL;
     215    fEncrypted                 = false;
    215216#endif
    216217}
     
    245246    mCpuExecutionCap = 100; /* Maximum CPU execution cap by default. */
    246247    mCpuIdPortabilityLevel = 0;
     248    mExecEngine = VMExecutionEngine_NotSet;
    247249    mCpuProfile = "host";
    248250
     
    1549915501          mstrNewPasswordId(aNewPasswordId),
    1550015502          mForce(aForce),
    15501           mllMedia(llMedia)
     15503          mllMedia(llMedia),
     15504          m_pCryptoIf(NULL)
    1550215505    {}
    1550315506
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette