- Timestamp:
- Apr 10, 2019 8:05:37 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/presenter/server_presenter.cpp
r78105 r78106 147 147 { 148 148 uint32_t cbBuff; 149 149 150 150 if (width == 0 || height == 0) 151 151 { … … 153 153 return -1; 154 154 } 155 155 156 156 cbBuff = width * height * 4; 157 157 // Check if overflow happened … … 161 161 return -1; 162 162 } 163 163 164 164 if (offVRAM >= g_cbVRam 165 165 || UINT32_MAX - cbBuff <= offVRAM
Note:
See TracChangeset
for help on using the changeset viewer.