- Timestamp:
- Nov 18, 2016 11:45:00 AM (8 years ago)
- Location:
- trunk/src/VBox/Storage
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Storage/VD.cpp
r64272 r64711 7013 7013 ("cbSize=%llu\n", cbSize), 7014 7014 rc = VERR_INVALID_PARAMETER); 7015 AssertMsgBreakStmt(!(cbSize % 512), 7016 ("cbSize=%llu\n", cbSize), 7017 rc = VERR_VD_INVALID_SIZE); 7015 7018 AssertMsgBreakStmt( ((uImageFlags & ~VD_IMAGE_FLAGS_MASK) == 0) 7016 7019 || ((uImageFlags & (VD_IMAGE_FLAGS_FIXED | VD_IMAGE_FLAGS_DIFF)) != VD_IMAGE_FLAGS_FIXED), -
trunk/src/VBox/Storage/VDI.cpp
r64693 r64711 1415 1415 if ( !cbSize 1416 1416 || cbSize >= _1P * 4 - _1M * 3 1417 || cbSize < VDI_IMAGE_DEFAULT_BLOCK_SIZE) 1417 || cbSize < VDI_IMAGE_DEFAULT_BLOCK_SIZE 1418 || (cbSize % 512)) 1418 1419 return VERR_VD_INVALID_SIZE; 1419 1420
Note:
See TracChangeset
for help on using the changeset viewer.