VirtualBox

Changeset 107725 in vbox


Ignore:
Timestamp:
Jan 13, 2025 8:34:34 PM (4 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
166830
Message:

Storage/RAW.cpp: Fix harmless parfait warning about a possible integer overflow before assignment, bugref:3409

File:
1 edited

Legend:

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

    r107423 r107725  
    468468        {
    469469            if (offUdfBootVolDesc == UINT64_MAX)
    470                 offUdfBootVolDesc = iVolDesc * cbSector;
     470                offUdfBootVolDesc = (uint64_t)iVolDesc * cbSector;
    471471            else
    472472                return RTERRINFO_LOG_SET_F(pErrInfo, VERR_VFS_BOGUS_FORMAT, "Only one BOOT2 descriptor is supported");
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