VirtualBox

Changeset 79967 in vbox


Ignore:
Timestamp:
Jul 24, 2019 9:43:02 PM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
132398
Message:

Fixed initialization issue that caused divided-by-zero on allocation block size in tstVDIo test case

File:
1 edited

Legend:

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

    r79965 r79967  
    728728            rc = vdIfError(pImage->pIfError, rc, RT_SRC_POS,
    729729                           N_("VDI: Getting AllocationBlockSize for '%s' failed (%Rrc)"), pImage->pszFilename, rc);
    730     }
     730    } else
     731        pImage->cbAllocationBlock = VDI_IMAGE_DEFAULT_BLOCK_SIZE;
    731732
    732733    if (pIfCfg)
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