VirtualBox

Ignore:
Timestamp:
Nov 18, 2008 1:44:33 PM (16 years ago)
Author:
vboxsync
Message:

Storage/VMDK: off by one, causing a crash getting the size of file data.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Storage/VmdkHDDCore.cpp

    r14292 r14302  
    44944494                cb += cbFile;
    44954495        }
    4496         for (unsigned i = 0; i <= pImage->cExtents; i++)
     4496        for (unsigned i = 0; i < pImage->cExtents; i++)
    44974497        {
    44984498            if (pImage->pExtents[i].pFile != NULL)
Note: See TracChangeset for help on using the changeset viewer.

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