VirtualBox

Changeset 104285 in vbox for trunk/src/VBox/Runtime/r3/nt


Ignore:
Timestamp:
Apr 11, 2024 12:06:14 AM (9 months ago)
Author:
vboxsync
Message:

IPRT: Reimplemented RTFileDelete for windows to eliminate type checking race and prevent it from accidentally deleting directories. [comment] bugref:10632

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/nt/RTFileDelete-r3-nt.cpp

    r104284 r104285  
    105105             * To delete symbolic links, use RTSymlinkDelete.
    106106             *
    107              * Alternative: We could model this on linux instead, and also allow
     107             * Alternative: We could model this on linux instead and also allow
    108108             * this function unlink symlinks, mount points and global reparse stuff,
    109109             * but fail on any other reparse point.  This would make the APIs work
    110              * more or less the same accross the platforms.  (Code is #if 0'ed below.)
     110             * more or less the same across the platforms.  (Code is #if 0'ed below.)
    111111             *
    112112             * See @bugref{10632}.
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