VirtualBox

Changeset 107170 in vbox


Ignore:
Timestamp:
Nov 27, 2024 6:05:40 PM (3 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
166168
Message:

Devices/Security/DevTpm.cpp: Move assertion to the correct position, bugref:10777

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Security/DevTpm.cpp

    r107027 r107170  
    13281328
    13291329    AssertReturn(cb <= sizeof(uint64_t), VERR_INTERNAL_ERROR);
    1330     Assert(!(off & (cb - 1)));
    13311330
    13321331    VBOXSTRICTRC rc = VINF_SUCCESS;
     
    13341333    if (pThis->fCrb)
    13351334    {
     1335        Assert(!(off & (cb - 1)));
     1336
    13361337        uint32_t uReg = tpmGetRegisterFromOffset(off);
    13371338        uint8_t bLoc = tpmGetLocalityFromOffset(off);
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