VirtualBox

Changeset 50616 in vbox for trunk/src


Ignore:
Timestamp:
Feb 26, 2014 6:52:55 PM (11 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
92491
Message:

DBGPlugInDarwin.cpp: allow more load commands.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Debugger/DBGPlugInDarwin.cpp

    r49081 r50616  
    272272     * Process the load commands.
    273273     */
    274     RTDBGSEGMENT    aSegs[12];
     274    RTDBGSEGMENT    aSegs[24];
    275275    uint32_t        cSegs  = 0;
    276276    RTUUID          Uuid   = RTUUID_INITIALIZE_NULL;
     
    731731                continue;
    732732            AssertCompileMembersSameSizeAndOffset(mach_header_64_t, sizeofcmds, mach_header_32_t, sizeofcmds);
    733             if (uBuf.Hdr32.sizeofcmds > X86_PAGE_4K_SIZE - sizeof(mach_header_64_t))
     733            if (uBuf.Hdr32.sizeofcmds > X86_PAGE_4K_SIZE * 2 - sizeof(mach_header_64_t))
    734734                continue;
    735735
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