VirtualBox

Changeset 99313 in vbox for trunk/src


Ignore:
Timestamp:
Apr 6, 2023 7:36:30 AM (2 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
156705
Message:

Devices/Security/DevTpm: Reject reads larger than 8 bytes before doing the read, bugref:10412

File:
1 edited

Legend:

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

    r98103 r99313  
    13431343    PDEVTPM pThis  = PDMDEVINS_2_DATA(pDevIns, PDEVTPM);
    13441344    RT_NOREF(pvUser);
     1345
     1346    AssertReturn(cb <= sizeof(uint64_t), VERR_INTERNAL_ERROR);
    13451347
    13461348    RTGCPHYS offAligned = off & ~UINT64_C(0x3);
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