Changeset 36312 in vbox for trunk/src/VBox/Runtime
- Timestamp:
- Mar 18, 2011 12:59:15 PM (14 years ago)
- svn:sync-xref-src-repo-rev:
- 70631
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/misc/sg.cpp
r31583 r36312 39 39 void *pvBuf = pSgBuf->pvSegCur; 40 40 41 AssertReleaseMsg( pSgBuf->cbSegLeft <= 5 * _1M 42 && (uintptr_t)pSgBuf->pvSegCur >= (uintptr_t)pSgBuf->paSegs[pSgBuf->idxSeg].pvSeg 43 && (uintptr_t)pSgBuf->pvSegCur + pSgBuf->cbSegLeft <= (uintptr_t)pSgBuf->paSegs[pSgBuf->idxSeg].pvSeg + pSgBuf->paSegs[pSgBuf->idxSeg].cbSeg, 44 ("pSgBuf->idxSeg=%d pSgBuf->cSegs=%d pSgBuf->pvSegCur=%p pSgBuf->cbSegLeft=%zd pSgBuf->paSegs[%d].pvSeg=%p pSgBuf->paSegs[%d].cbSeg=%zd\n", 45 pSgBuf->idxSeg, pSgBuf->cSegs, pSgBuf->pvSegCur, pSgBuf->cbSegLeft, 46 pSgBuf->idxSeg, pSgBuf->paSegs[pSgBuf->idxSeg].pvSeg, pSgBuf->idxSeg, pSgBuf->paSegs[pSgBuf->idxSeg].cbSeg)); 47 41 48 pSgBuf->cbSegLeft -= cbData; 42 49
Note:
See TracChangeset
for help on using the changeset viewer.