Commit a5231a60 authored by Alexandre Julliard's avatar Alexandre Julliard

dbghelp: Fix detection of special Wine segments.

parent 0760cacd
...@@ -390,9 +390,7 @@ static int macho_accum_segs_range(struct macho_file_map* fmap, ...@@ -390,9 +390,7 @@ static int macho_accum_segs_range(struct macho_file_map* fmap,
TRACE("Segment command vm: 0x%08x - 0x%08x\n", (unsigned)sc->vmaddr, TRACE("Segment command vm: 0x%08x - 0x%08x\n", (unsigned)sc->vmaddr,
(unsigned)sc->vmaddr + sc->vmsize); (unsigned)sc->vmaddr + sc->vmsize);
if (!strncmp(sc->segname, "WINE_DOS", sizeof(sc->segname)) || if (!strncmp(sc->segname, "WINE_", 5))
!strncmp(sc->segname, "WINE_OLE32", sizeof(sc->segname)) ||
!strncmp(sc->segname, "WINE_SHARED_HEAP", sizeof(sc->segname)))
{ {
TRACE("Ignoring special Wine segment %s\n", debugstr_an(sc->segname, sizeof(sc->segname))); TRACE("Ignoring special Wine segment %s\n", debugstr_an(sc->segname, sizeof(sc->segname)));
return 0; return 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment