VirtualBox

Changeset 44219 in vbox for trunk/src/VBox/Runtime


Ignore:
Timestamp:
Dec 31, 2012 12:29:52 PM (12 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
83007
Message:

Runtime/dbgas.cpp: Fix inverted check resulting in a NULL pointer dereference later on (found by clang-analyzer)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/dbg/dbgas.cpp

    r41493 r44219  
    901901    RTDBGAS_LOCK_WRITE(pDbgAs);
    902902    PRTDBGASMAP pMap = (PRTDBGASMAP)RTAvlrUIntPtrRangeGet(&pDbgAs->MapTree, Addr);
    903     if (pMap)
     903    if (!pMap)
    904904    {
    905905        RTDBGAS_UNLOCK_WRITE(pDbgAs);
Note: See TracChangeset for help on using the changeset viewer.

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