VirtualBox

Changeset 45981 in vbox


Ignore:
Timestamp:
May 10, 2013 12:02:33 PM (12 years ago)
Author:
vboxsync
Message:

Only pick up SHT_STRTAB sections if we haven't already found one.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/ldr/ldrELFRelocatable.cpp.h

    r45969 r45981  
    14071407                        AssertReturn(pModElf->cbStr == paShdrs[pModElf->iStrSh].sh_size, VERR_IMAGE_TOO_BIG);
    14081408                    }
    1409                     else if (paShdrs[i].sh_type == SHT_STRTAB)
     1409                    else if (paShdrs[i].sh_type == SHT_STRTAB && pModElf->iStrSh == ~0U)
    14101410                    {
    14111411                        pModElf->iStrSh = i;
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