VirtualBox

Changeset 46700 in vbox


Ignore:
Timestamp:
Jun 20, 2013 11:05:39 AM (11 years ago)
Author:
vboxsync
Message:

ldrNative-win.cpp: Assert on relative paths.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/win/ldrNative-win.cpp

    r46697 r46700  
    5050    Assert(sizeof(*phHandle) >= sizeof(HMODULE));
    5151    AssertReturn(fFlags == 0 || fFlags == RTLDRLOAD_FLAGS_NO_UNLOAD, VERR_INVALID_PARAMETER);
     52    AssertLogRelMsgReturn(RTPathStartsWithRoot(pszFilename),  /* Relative names will still be applied to the search path. */
     53                          ("pszFilename='%s'\n", pszFilename),
     54                          VERR_INTERNAL_ERROR_2);
    5255
    5356    /*
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