VirtualBox

Changeset 101653 in vbox


Ignore:
Timestamp:
Oct 30, 2023 11:08:56 AM (15 months ago)
Author:
vboxsync
Message:

IPRT/dbg: Fixed error handling empty DBI streams in the PDB VFS.

File:
1 edited

Legend:

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

    r100948 r101653  
    11691169    {
    11701170        /* Convert old header to new to new. */
    1171         if (cbRead >= sizeof(Hdr.Old))
     1171        if (cbRead < sizeof(Hdr.Old))
    11721172            return RTERRINFO_LOG_SET_F(pErrInfo, rc, "Bogus DBI header size: cbRead=%#zx, expected %#zx",
    11731173                                       cbRead, sizeof(Hdr.Old));
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