mirror of
https://github.com/reactos/reactos.git
synced 2024-12-31 19:42:51 +00:00
[WINESYNC] dbghelp: Return NULL instead of IMAGE_NO_MAP when PE file mapping fails.
A NULL test is always applied to the return value from pe_map_full(), but IMAGE_NO_MAP is not NULL, it is ((void*)-1). Signed-off-by: Conor McCarthy <cmccarthy@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org> wine commit id 9d3687ad324f866c835c4b73922f859a30e47aee by Conor McCarthy <cmccarthy@codeweavers.com>
This commit is contained in:
parent
8105772fc4
commit
5e225d76e5
2 changed files with 2 additions and 2 deletions
|
@ -55,7 +55,7 @@ static void* pe_map_full(struct image_file_map* fmap, IMAGE_NT_HEADERS** nth)
|
|||
fmap->u.pe.full_count++;
|
||||
return fmap->u.pe.full_map;
|
||||
}
|
||||
return IMAGE_NO_MAP;
|
||||
return NULL;
|
||||
}
|
||||
|
||||
static void pe_unmap_full(struct image_file_map* fmap)
|
||||
|
|
|
@ -4,4 +4,4 @@ files:
|
|||
include/dbghelp.h: sdk/include/psdk/dbghelp.h
|
||||
include/wine/mscvpdb.h: sdk/include/reactos/wine/mscvpdb.h
|
||||
tags:
|
||||
wine: a91b0faefd801d44063c8d9289dbc69de985f8b6
|
||||
wine: 9d3687ad324f866c835c4b73922f859a30e47aee
|
||||
|
|
Loading…
Reference in a new issue