VirtualBox

Changeset 94310 in vbox


Ignore:
Timestamp:
Mar 18, 2022 11:33:45 PM (3 years ago)
Author:
vboxsync
Message:

IPRT/RTPathTemp: Reverted the bits of r150550 related to RTPathTemp as it can't possibly be a good idea to use LOCALAPPDATA for temporary data. bugref:10201

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/RTPathTemp.cpp

    r94286 r94310  
    4848        "IPRT_TMPDIR"
    4949#if defined(RT_OS_WINDOWS)
    50         /*
    51          * Make sure that %LOCALAPPDATA% is preferred over %TMP% / %TEMP%, as those can point
    52          * to generic / old-school temp directories like "C:\WINDOWS\TEMP", which also is writable for unprivileged users
    53          * under some circumstances.
    54          *
    55          * See @bugref{10201}
    56          */
    57         , "LOCALAPPDATA", "TMP", "TEMP", "USERPROFILE"
     50        , "TMP", "TEMP", "USERPROFILE"
    5851#elif defined(RT_OS_OS2)
    5952        , "TMP", "TEMP", "TMPDIR"
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