VirtualBox

Ignore:
Timestamp:
Sep 24, 2014 12:46:44 PM (10 years ago)
Author:
vboxsync
Message:

SUP: Fixed copy and past bug in supR3HardenedWinVerifyCacheIsMatch. Fixed mostly harmless forwardslash bug in supR3HardenedWinFix8dot3Path.

File:
1 edited

Legend:

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

    r52795 r52834  
    513513        if (wcLeft != wcRight)
    514514        {
    515             wcLeft = wcLeft  != '/' ? RT_C_TO_LOWER(wcLeft)  : '\\';
    516             wcLeft = wcRight != '/' ? RT_C_TO_LOWER(wcRight) : '\\';
     515            wcLeft  = wcLeft  != '/' ? RT_C_TO_LOWER(wcLeft)  : '\\';
     516            wcRight = wcRight != '/' ? RT_C_TO_LOWER(wcRight) : '\\';
    517517            if (wcLeft != wcRight)
    518518                return false;
     
    11161116        RTUTF16 wc;
    11171117        PRTUTF16 pwszFixEnd = pwszFix;
    1118         while ((wc = *pwszFixEnd) != '\0' && wc != '\\' && wc != '//')
     1118        while ((wc = *pwszFixEnd) != '\0' && wc != '\\' && wc != '/')
    11191119            pwszFixEnd++;
    11201120        if (wc == '\0')
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