Changeset 76787 in vbox for trunk/src/VBox/HostServices/SharedOpenGL/unpacker/unpack_visibleregion.c
- Timestamp:
- Jan 11, 2019 8:00:15 PM (6 years ago)
- svn:sync-xref-src-repo-rev:
- 128124
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/SharedOpenGL/unpacker/unpack_visibleregion.c
r76553 r76787 26 26 GLint window = READ_DATA( 8, GLint ); 27 27 GLint cRects = READ_DATA( 12, GLint ); 28 GLvoid *pRects = DATA_POINTER( 16, GLvoid );; 28 GLvoid *pRects = DATA_POINTER( 16, GLvoid ); 29 30 if (cRects <= 0 || cRects >= INT32_MAX / sizeof(GLint) / 8 || !DATA_POINTER_CHECK(16 + 4 * cRects * sizeof(GLint))) 31 { 32 crError("crUnpackExtendWindowVisibleRegion: parameter 'cRects' is out of range"); 33 return; 34 } 35 29 36 cr_unpackDispatch.WindowVisibleRegion( window, cRects, pRects ); 30 37 }
Note:
See TracChangeset
for help on using the changeset viewer.