VirtualBox

Changeset 2909 in vbox


Ignore:
Timestamp:
May 29, 2007 11:36:21 AM (18 years ago)
Author:
vboxsync
Message:

pfnLogger and pfnFlush are ring-0 addresses and can't be validated using ring-3 pointer assumptions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/log.cpp

    r1219 r2909  
    117117    /** The logger instance.*/
    118118    PRTLOGGER volatile      pLogger;
    119 } g_aPerThreadLoggers[8] = 
     119} g_aPerThreadLoggers[8] =
    120120{   { NIL_RTNATIVETHREAD, 0, 0},
    121121    { NIL_RTNATIVETHREAD, 0, 0},
     
    653653    AssertPtrReturn(pLogger, VERR_INVALID_PARAMETER);
    654654    AssertReturn(cbLogger >= sizeof(*pLogger), VERR_INVALID_PARAMETER);
    655     AssertPtrReturn(pfnLogger, VERR_INVALID_PARAMETER);
    656     AssertPtrReturn(pfnFlush, VERR_INVALID_PARAMETER);
     655    AssertReturn(pfnLogger, VERR_INVALID_PARAMETER);
     656    AssertReturn(pfnFlush, VERR_INVALID_PARAMETER);
    657657
    658658    /*
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