VirtualBox

Changeset 99314 in vbox for trunk/src/VBox/VMM/VMMAll


Ignore:
Timestamp:
Apr 6, 2023 7:41:57 AM (21 months ago)
Author:
vboxsync
Message:

VMM/PGMPhys: Set the remaining buffer to a known value when returning early due to an error, bugref:10412

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/PGMAllPhys.cpp

    r99231 r99314  
    26402640                    else
    26412641                    {
    2642                         memset(pvBuf, 0xff, cb);
     2642                        /* Set the remaining buffer to a known value. */
     2643                        memset(pvBuf, 0xff, cbRead);
    26432644                        PGM_UNLOCK(pVM);
    26442645                        return rcStrict2;
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