VirtualBox

Changeset 107183 in vbox for trunk


Ignore:
Timestamp:
Nov 29, 2024 12:58:55 PM (2 months ago)
Author:
vboxsync
Message:

Support/win/SUPHardenedVerifyImage-win.cpp: Fixed a warning found by Parfait (assignment is unused).

File:
1 edited

Legend:

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

    r107182 r107183  
    812812    if (supHardViUtf16PathStartsWithEx(pwszName, cwcName, g_System32NtPath.UniStr.Buffer, cwcOther, true /*fCheckSlash*/))
    813813    {
    814         pwsz = pwszName + cwcOther + 1;
    815 
    816814        /* Must be owned by trusted installer. (This test is superfuous, thus no relaxation here.) */
    817815        if (   !(fFlags & SUPHNTVI_F_TRUSTED_INSTALLER_OR_SIMILAR_OWNER)
    818816            && !supHardNtViCheckIsOwnedByTrustedInstallerOrSimilar(hFile, pwszName))
    819817            return rc;
     818
     819        pwsz = pwszName + cwcOther + 1;
    820820
    821821        /* Core DLLs. */
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