VirtualBox

Changeset 5941 in vbox for trunk


Ignore:
Timestamp:
Dec 3, 2007 12:18:45 PM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
26486
Message:

Fixed handle init bug.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR0/GVMMR0.cpp

    r5288 r5941  
    212212
    213213            /* the tail */
    214             unsigned i = RT_ELEMENTS(pGVMM->aHandles);
     214            unsigned i = RT_ELEMENTS(pGVMM->aHandles) - 1;
    215215            pGVMM->aHandles[i].iSelf = i;
    216216            pGVMM->aHandles[i].iNext = 0; /* nil */
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