VirtualBox

Changeset 78356 in vbox for trunk/src


Ignore:
Timestamp:
Apr 30, 2019 9:02:35 AM (6 years ago)
Author:
vboxsync
Message:

IPRT/isovfs.cpp: Ignore 2nd primary descriptor.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/fs/isovfs.cpp

    r76553 r78356  
    57055705                rtFsIsoVolLogPrimarySupplementaryVolDesc(&Buf.SupVolDesc);
    57065706#endif
    5707                 if (cPrimaryVolDescs > 1)
     5707                if (cPrimaryVolDescs == 1)
     5708                    rc = rtFsIsoVolHandlePrimaryVolDesc(pThis, &Buf.PrimaryVolDesc, offVolDesc, &RootDir, &offRootDirRec, pErrInfo);
     5709                else if (cPrimaryVolDescs == 2)
     5710                    Log(("ISO9660: ignoring 2nd primary descriptor\n")); /* so we can read the w2k3 ifs kit */
     5711                else
    57085712                    return RTERRINFO_LOG_SET(pErrInfo, VERR_VFS_UNSUPPORTED_FORMAT, "More than one primary volume descriptor");
    5709                 rc = rtFsIsoVolHandlePrimaryVolDesc(pThis, &Buf.PrimaryVolDesc, offVolDesc, &RootDir, &offRootDirRec, pErrInfo);
    57105713            }
    57115714            else if (Buf.VolDescHdr.bDescType == ISO9660VOLDESC_TYPE_SUPPLEMENTARY)
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