Changeset 75351 in vbox for trunk/src/VBox/Storage/VD.cpp
- Timestamp:
- Nov 9, 2018 10:46:06 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Storage/VD.cpp
r75349 r75351 7081 7081 * bigger than the source. 7082 7082 */ 7083 if (uOffset < pCurrImage->cbImage) 7083 uint64_t cbImage = vdImageGetSize(pCurrImage); 7084 if (uOffset < cbImage) 7084 7085 { 7085 cbThisRead = RT_MIN(cbThisRead, pCurrImage->cbImage - uOffset);7086 cbThisRead = RT_MIN(cbThisRead, cbImage - uOffset); 7086 7087 rc = pCurrImage->Backend->pfnRead(pCurrImage->pBackendData, 7087 7088 uOffset, cbThisRead, … … 7218 7219 * bigger than the source. 7219 7220 */ 7220 if (uOffset < pCurrImage->cbImage) 7221 uint64_t cbImage = vdImageGetSize(pCurrImage); 7222 if (uOffset < cbImage) 7221 7223 { 7222 cbThisRead = RT_MIN(cbThisRead, pCurrImage->cbImage - uOffset);7224 cbThisRead = RT_MIN(cbThisRead, cbImage - uOffset); 7223 7225 rc = pCurrImage->Backend->pfnRead(pCurrImage->pBackendData, 7224 7226 uOffset, cbThisRead,
Note:
See TracChangeset
for help on using the changeset viewer.