VirtualBox

Changeset 71628 in vbox for trunk/src


Ignore:
Timestamp:
Apr 3, 2018 9:32:05 AM (7 years ago)
Author:
vboxsync
Message:

DevVGA: Code cleanup in progress. bugref:9094 [bugfix]

File:
1 edited

Legend:

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

    r71626 r71628  
    567567    ASSERT_GUEST_RETURN(   VbgaSafe.cbData <= UINT32_MAX - RT_UOFFSETOF(VBVABUFFER, au8Data)
    568568                        && cbVBVABuffer <= pVGAState->vram_size
    569                         && u32Offset > pVGAState->vram_size - cbVBVABuffer,
     569                        && u32Offset <= pVGAState->vram_size - cbVBVABuffer,
    570570                        VERR_INVALID_PARAMETER);
    571571    if (!fRestored)
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