VirtualBox

Changeset 107346 in vbox


Ignore:
Timestamp:
Dec 18, 2024 9:29:14 AM (4 weeks ago)
Author:
vboxsync
Message:

IPRT/RTFileDelete-r3-nt: Fixed a regression from r162755 which prevented deleting files with specially crafted names on NT4. bugref:10826

File:
1 edited

Legend:

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

    r106576 r107346  
    134134                }
    135135            }
    136             else if (rcNt == STATUS_INVALID_PARAMETER || rcNt == STATUS_NOT_IMPLEMENTED)
     136            else if (   rcNt == STATUS_INVALID_PARAMETER || rcNt == STATUS_NOT_IMPLEMENTED
     137                     /** Needed for NT4. See @bugref{10826}. */
     138                     || rcNt == STATUS_INVALID_INFO_CLASS)
    137139                rcNt = STATUS_SUCCESS;
    138140            else
     
    208210            if (!NT_SUCCESS(rcNt) && RT_SUCCESS_NP(rc))
    209211                rc = RTErrConvertFromNtStatus(rcNt);
    210         }
     212            }
    211213        else if (RT_SUCCESS_NP(rc))
    212214            rc = RTErrConvertFromNtStatus(rcNt);
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