VirtualBox

Changeset 104287 in vbox for trunk/src/VBox/Runtime


Ignore:
Timestamp:
Apr 11, 2024 2:09:16 AM (9 months ago)
Author:
vboxsync
Message:

IPRT/log,Main: Open the parent directory of the log file on Windows before we opening the log file and do any log rotating to prevent reparse hacks. [build fix] bugref:10632

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/log/log.cpp

    r104286 r104287  
    234234     * This is kept open while we have an open log file. */
    235235    void                   *pvDirCtx;
     236# if ARCH_BITS == 32
     237    void                   *pvPadding32;
     238# endif
    236239
    237240    /** Handle to log file (if open) - only used by the default output interface to avoid additional layers of indirection. */
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