VirtualBox

Changeset 103375 in vbox


Ignore:
Timestamp:
Feb 14, 2024 10:14:09 PM (10 months ago)
Author:
vboxsync
Message:

VMM/IEM: Corrected bug in iemNativeInstrBufEnsureSlow where it would return NULL instead of throwing error in case pReNative was corrupted. bugref:3409 bugref:10371

File:
1 edited

Legend:

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

    r103334 r103375  
    32303230    /* Double the buffer size till we meet the request. */
    32313231    uint32_t cNew = pReNative->cInstrBufAlloc;
    3232     AssertReturn(cNew > 0, NULL);
     3232    AssertStmt(cNew > 0, IEMNATIVE_DO_LONGJMP(pReNative, VERR_INTERNAL_ERROR_5)); /* impossible */
    32333233    do
    32343234        cNew *= 2;
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