- Timestamp:
- Oct 4, 2024 7:51:37 PM (7 months ago)
- svn:sync-xref-src-repo-rev:
- 165005
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Graphics/DevVGA-SVGA-cmd.cpp
r106061 r106221 8360 8360 } 8361 8361 8362 if (pbDst > pbSrc) 8363 { 8364 if (pbDst - pbSrc < cbSrcPitch * cHeight) 8365 { 8366 LogRelMax(4, ("Src buffer 0x%p overlaps Dst buffer 0x%p\n", pbSrc, pbDst)); 8367 return VERR_INVALID_PARAMETER; 8368 } 8369 } 8370 else if (pbSrc > pbDst) 8371 { 8372 if (pbSrc - pbDst < cbDstPitch * cHeight) 8373 { 8374 LogRelMax(4, ("Dst buffer 0x%p overlaps Src buffer 0x%p\n", pbDst, pbSrc)); 8375 return VERR_INVALID_PARAMETER; 8376 } 8377 } 8378 else 8379 { 8380 LogRelMax(4, ("Dst and Src buffers are both start at 0x%p\n", pbDst)); 8381 return VERR_INVALID_PARAMETER; 8382 } 8383 8362 8384 if ( cbWidth == (uint32_t)cbGstPitch 8363 8385 && cbGstPitch == cbHstPitch)
Note:
See TracChangeset
for help on using the changeset viewer.