VirtualBox

Changeset 39052 in vbox for trunk/src/VBox/Storage


Ignore:
Timestamp:
Oct 20, 2011 1:12:30 PM (13 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
74474
Message:

VMDK: Improve error message if a stream optimized image is corrupted

File:
1 edited

Legend:

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

    r38876 r39052  
    745745        RTZipDecompDestroy(pZip);
    746746        if (RT_FAILURE(rc))
     747        {
     748            if (rc == VERR_ZIP_CORRUPTED)
     749                rc = vdIfError(pImage->pIfError, rc, RT_SRC_POS, N_("VMDK: Compressed image is corrupted '%s'"), pExtent->pszFullname);
    747750            return rc;
     751        }
    748752        if (cbActuallyRead != cbToRead)
    749753            rc = VERR_VD_VMDK_INVALID_FORMAT;
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