VirtualBox

Ignore:
Timestamp:
Apr 18, 2018 4:43:38 PM (7 years ago)
Author:
vboxsync
Message:

3D: bugref:9126, validate location of HGSM flags

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Graphics/HGSMI/HGSMIHost.cpp

    r71673 r71904  
    14921492
    14931493            ASSERT_GUEST_RETURN(LocSafe.cbLocation == sizeof(HGSMIHOSTFLAGS), VERR_INVALID_PARAMETER);
     1494            ASSERT_GUEST_RETURN(LocSafe.offLocation + sizeof(HGSMIHOSTFLAGS) == pIns->area.cbArea, VERR_INVALID_PARAMETER);
    14941495            RT_UNTRUSTED_VALIDATED_FENCE();
    14951496
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