VirtualBox

Changeset 33566 in vbox


Ignore:
Timestamp:
Oct 28, 2010 3:30:47 PM (14 years ago)
Author:
vboxsync
Message:

IPRT/isofs: Fixed crash when parsing invalid .ISO file.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/isofs.cpp

    r33540 r33566  
    417417        {
    418418            pNode = RTListNodeGetFirst(&pFile->listPaths, RTISOFSPATHTABLEENTRY, Node);
    419             bFound = true;
     419            if (pNode)
     420                bFound = true;
    420421        }
    421422        else
     
    433434        if (bFound)
    434435        {
     436            AssertPtr(pNode);
    435437            *puSector = pNode->header.sector_dir_table;
    436438            rc = VINF_SUCCESS;
    437439        }
     440        else
     441            rc = VERR_FILE_NOT_FOUND;
    438442        RTStrFree(pszTemp);
    439443    }
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