VirtualBox

Ignore:
Timestamp:
Nov 23, 2016 1:59:08 PM (8 years ago)
Author:
vboxsync
Message:

supHardNtVpNewImage: More info on RTNtPathExpand8dot3Path trouble.

File:
1 edited

Legend:

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

    r62700 r64737  
    11871187     * path so that we will recognize the DLLs and their location.
    11881188     */
     1189    int rc83Exp = VERR_IGNORED;
    11891190    PUNICODE_STRING pLongName = &pImage->Name.UniStr;
    11901191    if (RTNtPathFindPossible8dot3Name(pLongName->Buffer))
     
    11971198        memcpy(pTmp->Buffer, pLongName->Buffer, pLongName->Length + sizeof(RTUTF16));
    11981199
    1199         RTNtPathExpand8dot3Path(pTmp, false /*fPathOnly*/);
     1200        rc83Exp = RTNtPathExpand8dot3Path(pTmp, false /*fPathOnly*/);
     1201        Assert(rc83Exp == VINF_SUCCESS);
    12001202        Assert(pTmp->Buffer[pTmp->Length / sizeof(RTUTF16)] == '\0');
     1203        if (rc83Exp != VINF_SUCCESS)
     1204            SUP_DPRINTF(("supHardNtVpNewImage: RTNtPathExpand8dot3Path returns %Rrc for '%ls' (-> '%ls')\n",
     1205                         rc83Exp, pLongName->Buffer, pTmp->Buffer));
    12011206
    12021207        pLongName = pTmp;
     
    13131318        }
    13141319        return supHardNtVpSetInfo2(pThis, VERR_SUP_VP_NOT_KNOWN_DLL_OR_EXE,
    1315                                    "Unknown image file %ls at %p.", pLongName->Buffer, pMemInfo->BaseAddress);
     1320                                   "Unknown image file %ls at %p. (rc83Exp=%Rrc)",
     1321                                   pLongName->Buffer, pMemInfo->BaseAddress, rc83Exp);
    13161322    }
    13171323
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