VirtualBox

Changeset 105680 in vbox for trunk


Ignore:
Timestamp:
Aug 15, 2024 3:49:46 AM (5 months ago)
Author:
vboxsync
Message:

HostDrivers/Support/win: Improve the error message written to the
VBoxHardening.log in supR3HardenedWinDoReSpawn() by including the
executable name (argv[0]) if CreateProcessW() fails. ticketref:14176
bugref:10332

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/win/SUPR3HardenedMain-win.cpp

    r104384 r105680  
    48164816        supR3HardenedFatalMsg("supR3HardenedWinReSpawn", kSupInitOp_Misc, VERR_INVALID_NAME,
    48174817                              "Error relaunching VirtualBox VM process: %u\n"
    4818                               "Command line: '%ls'",
    4819                               RtlGetLastWin32Error(), pwszCmdLine);
     4818                              "Command line: '%ls %ls'",
     4819                              RtlGetLastWin32Error(), g_wszSupLibHardenedExePath, pwszCmdLine);
    48204820    supR3HardenedWinDisableThreadCreation();
    48214821
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