VirtualBox

Changeset 106277 in vbox


Ignore:
Timestamp:
Oct 10, 2024 8:52:49 AM (6 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
165073
Message:

ValidationKit/bootsectors: fix another off-by-one (sigh!); bugref:10658

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/bootsectors/bs3-cpu-instr-4.c32

    r106270 r106277  
    26662666                /* This case must be last, as it trashes uSeenMasks & uInitialExceptions */
    26672667                /* Also confirm 1:1 cases implemented :: mask type descriptions */
    2668                 BS3_ASSERT(iMaskType == RT_ELEMENTS(s_apszMaskType));
     2668                BS3_ASSERT(iMaskType == RT_ELEMENTS(s_apszMaskType) - 1);
    26692669
    26702670                uRandTmp = bs3CpuInstrX_SimpleRand();
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