VirtualBox

Changeset 104557 in vbox


Ignore:
Timestamp:
May 8, 2024 2:15:39 PM (7 months ago)
Author:
vboxsync
Message:

VMM/PGMSavedState.cpp: Check status code for errors and return on error before continuing, bugref:3409

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR3/PGMSavedState.cpp

    r99051 r104557  
    766766        RTGCPHYS cb;
    767767        rc = SSMR3GetGCPhys(pSSM, &cb);
     768        AssertLogRelRCReturn(rc, rc);
    768769        AssertLogRelMsgReturn(!(cb & GUEST_PAGE_OFFSET_MASK), ("cb=%RGp %s\n", cb, szDesc), VERR_SSM_DATA_UNIT_FORMAT_CHANGED);
    769770
     
    25642565                {
    25652566                    rc = pgmR3LoadPageToDevNullOld(pSSM);
     2567                    AssertLogRelRCReturn(rc, rc);
    25662568                    GCPhys += GUEST_PAGE_SIZE;
    25672569                }
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