VirtualBox

Changeset 66447 in vbox for trunk


Ignore:
Timestamp:
Apr 5, 2017 6:00:53 PM (8 years ago)
Author:
vboxsync
Message:

dbgmodcontainer: Adjusted assertion to silently handle empty segments like BS3X0TEXT16_START.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/dbg/dbgmodcontainer.cpp

    r62477 r66447  
    255255    AssertMsgReturn(iSeg < pThis->cSegs,          ("iSeg=%#x cSegs=%#x\n", iSeg, pThis->cSegs),
    256256                    VERR_DBG_INVALID_SEGMENT_INDEX);
    257     AssertMsgReturn(off < pThis->paSegs[iSeg].cb, ("off=%RTptr cbSeg=%RTptr\n", off, pThis->paSegs[iSeg].cb),
     257    AssertMsgReturn(off <= pThis->paSegs[iSeg].cb, ("off=%RTptr cbSeg=%RTptr\n", off, pThis->paSegs[iSeg].cb),
    258258                    VERR_DBG_INVALID_SEGMENT_OFFSET);
    259259
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