VirtualBox

Changeset 52019 in vbox for trunk/src/VBox/Main/include


Ignore:
Timestamp:
Jul 14, 2014 8:01:03 PM (11 years ago)
Author:
vboxsync
Message:

Main/Console: Switch to RTMemSafer* for key backings

File:
1 edited

Legend:

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

    r51925 r52019  
    5656
    5757#include <iprt/uuid.h>
    58 #include <iprt/mem.h>
     58#include <iprt/memsafer.h>
    5959#include <VBox/RemoteDesktop/VRDE.h>
    6060#include <VBox/vmm/pdmdrv.h>
     
    585585            ~SecretKey()
    586586            {
    587                 RTMemWipeThoroughly(m_pbKey, m_cbKey, 3 /* cPasses */);
    588                 RTMemLockedFree(m_pbKey);
     587                RTMemSaferFree(m_pbKey, m_cbKey);
    589588                m_cRefs = 0;
    590589                m_pbKey = NULL;
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