- Timestamp:
- Jan 28, 2011 1:06:58 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Graphics/DevVGA.cpp
r35409 r35759 4605 4605 size_t cbRequired = pThis->last_scr_width * 4 * pThis->last_scr_height; 4606 4606 4607 if (cbRequired) 4607 /* The size can't be zero or greater than the size of the VRAM. 4608 * Inconsistent VGA device state can cause the incorrect size values. 4609 */ 4610 if (cbRequired && cbRequired <= pThis->vram_size) 4608 4611 { 4609 4612 uint8_t *pu8Data = (uint8_t *)RTMemAlloc(cbRequired);
Note:
See TracChangeset
for help on using the changeset viewer.