VirtualBox

Ignore:
Timestamp:
Dec 14, 2009 10:17:49 AM (15 years ago)
Author:
vboxsync
Message:

GuestProperties/service/delProperty: Don't check permissions unless the value was found. Avoids incorrect VINF_PERMISSION_DENIED status codes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostServices/GuestProperties/service.cpp

    r25354 r25355  
    738738            {
    739739                found = true;
     740                rc = checkPermission((ePropFlags)it->mFlags, isGuest);
    740741                break;
    741742            }
    742         rc = checkPermission(found ? (ePropFlags)it->mFlags : NILFLAG,
    743                              isGuest);
    744743
    745744        /*
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