VirtualBox

Ignore:
Timestamp:
May 4, 2020 12:11:24 PM (5 years ago)
Author:
vboxsync
Message:

DevVGA-SVGA3d: Use ASSERT_GUEST_RETURN rather than AssertReturn for index range validation in vmsvga3dSetLightData. bugref:9689

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Graphics/DevVGA-SVGA3d-win.cpp

    r83620 r84136  
    46524652
    46534653    Log(("vmsvga3dSetLightData %x index=%d\n", cid, index));
    4654     AssertReturn(index < SVGA3D_MAX_LIGHTS, VERR_INVALID_PARAMETER);
     4654    ASSERT_GUEST_RETURN(index < SVGA3D_MAX_LIGHTS, VERR_INVALID_PARAMETER);
    46554655
    46564656    int rc = vmsvga3dContextFromCid(pState, cid, &pContext);
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