VirtualBox

Changeset 52953 in vbox for trunk/src/VBox/Runtime/r3


Ignore:
Timestamp:
Oct 6, 2014 1:30:20 PM (10 years ago)
Author:
vboxsync
Message:

SUP: Use LdrRegisterDllNotification when available to make sure we see all DLLs and get a chance to restore our NtDll hooks.

Location:
trunk/src/VBox/Runtime/r3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/nt/pathint-nt.cpp

    r52944 r52953  
    248248        return VERR_INVALID_NAME;
    249249
    250     int rc = RTUtf16NLenEx(pwszWinPath, cwcWinPath, &cwcWinPath);
     250    RTUtf16NLenEx(pwszWinPath, cwcWinPath, &cwcWinPath);
     251    int rc = RTUtf16ValidateEncodingEx(pwszWinPath, cwcWinPath, 0);
    251252    if (RT_FAILURE(rc))
    252253        return rc;
  • trunk/src/VBox/Runtime/r3/win/ntdll-mini-implib.def

    r52947 r52953  
    9393
    9494    LdrInitializeThunk                    ;;= _LdrInitializeThunk@12
     95    LdrRegisterDllNotification            ;;= _LdrRegisterDllNotification@16
    9596
    9697    RtlAddAccessAllowedAce                ;;= _RtlAddAccessAllowedAce@16
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