VirtualBox

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


Ignore:
Timestamp:
Feb 7, 2012 11:28:44 PM (13 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
76156
Message:

Storage/VDI: Fix possible corruption when compacting an image with differencing images on a 32bit system caused by an integer overflow

File:
1 edited

Legend:

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

    r40031 r40032  
    25092509                else if (pfnParentRead)
    25102510                {
    2511                     rc = pfnParentRead(pvParent, i * cbBlock, pvBuf, cbBlock);
     2511                    rc = pfnParentRead(pvParent, (uint64_t)i * cbBlock, pvBuf, cbBlock);
    25122512                    if (RT_FAILURE(rc))
    25132513                        break;
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