VirtualBox

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


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.

File:
1 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;
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