VirtualBox

Changeset 41078 in vbox for trunk/src/VBox/Runtime/testcase


Ignore:
Timestamp:
Apr 27, 2012 8:44:35 AM (13 years ago)
Author:
vboxsync
Message:

tstLdr-3: out of range fix.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/testcase/tstLdr-3.cpp

    r41059 r41078  
    4545static RTLDRMOD  g_hLdrMod;
    4646static void     *g_pvBits;
     47static uint8_t   g_cBits;
    4748
    4849/**
     
    204205    *pValue = UINT64_C(0xffffff7f820df000);
    205206#endif
     207    if (g_cBits == 32)
     208        *pValue &= UINT32_MAX;
    206209    return VINF_SUCCESS;
    207210}
     
    278281        return 1;
    279282    }
     283    g_cBits = ARCH_BITS;
    280284
    281285    g_pvBits = RTMemAlloc(RTLdrSize(g_hLdrMod));
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