Changeset 50948 in vbox
- Timestamp:
- Apr 1, 2014 6:36:16 PM (11 years ago)
- svn:sync-xref-src-repo-rev:
- 93096
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_presenter.cpp
r50944 r50948 248 248 Assert(srcX >= 0); 249 249 Assert(srcY >= 0); 250 Assert(srcX < (int32_t)pSrc->width); 251 Assert(srcY < (int32_t)pSrc->height); 250 if(srcX >= (int32_t)pSrc->width) 251 { 252 WARN(("invalid x")); 253 return; 254 } 255 if(srcY >= (int32_t)pSrc->height) 256 { 257 WARN(("invalid y")); 258 return; 259 } 252 260 253 261 int32_t dstX = pCopyRect->xLeft - pDstDataPoint->x;
Note:
See TracChangeset
for help on using the changeset viewer.