VirtualBox

Changeset 67744 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Jul 1, 2017 11:25:32 AM (8 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
116624
Message:

Storage/VMDK: Missing check (regression from 110625)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Storage/VMDK.cpp

    r66505 r67744  
    52875287                 && *pszFilename
    52885288                 && VALID_PTR(pPCHSGeometry)
    5289                  && VALID_PTR(pLCHSGeometry), VERR_INVALID_PARAMETER);
     5289                 && VALID_PTR(pLCHSGeometry)
     5290                 && !(   uImageFlags & VD_VMDK_IMAGE_FLAGS_ESX
     5291                      && !(uImageFlags & VD_IMAGE_FLAGS_FIXED)),
     5292                 VERR_INVALID_PARAMETER);
    52905293
    52915294    PVMDKIMAGE pImage = (PVMDKIMAGE)RTMemAllocZ(RT_UOFFSETOF(VMDKIMAGE, RegionList.aRegions[1]));
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette