VirtualBox

Changeset 102791 in vbox for trunk


Ignore:
Timestamp:
Jan 9, 2024 9:24:31 AM (13 months ago)
Author:
vboxsync
Message:

VMM/IEM: Fix iemNativeInstrBufEnsureSlow bug in strict builds. bugref:10371

File:
1 edited

Legend:

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

    r102790 r102791  
    28572857    AssertStmt(pvNew, IEMNATIVE_DO_LONGJMP(pReNative, VERR_IEM_INSTR_BUF_OUT_OF_MEMORY));
    28582858
    2859     pReNative->cInstrBufAlloc   = cNew;
    2860     return pReNative->pInstrBuf = (PIEMNATIVEINSTR)pvNew;
     2859#ifdef VBOX_STRICT
     2860    pReNative->offInstrBufChecked = off + cInstrReq;
     2861#endif
     2862    pReNative->cInstrBufAlloc     = cNew;
     2863    return pReNative->pInstrBuf   = (PIEMNATIVEINSTR)pvNew;
    28612864}
    28622865
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