12 Jul
2024
12 Jul
'24
9:25 a.m.
From: Eric Pouech <epouech(a)codeweavers.com> Signed-off-by: Eric Pouech <epouech(a)codeweavers.com> --- tools/winedump/pe.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/winedump/pe.c b/tools/winedump/pe.c index 6acab7e4773..ea4558352f8 100644 --- a/tools/winedump/pe.c +++ b/tools/winedump/pe.c @@ -2180,6 +2180,7 @@ static void dump_dir_exceptions(void) const IMAGE_ARM64EC_METADATA *metadata; funcs = get_dir_and_size(IMAGE_FILE_EXCEPTION_DIRECTORY, &size); + if (!funcs) size = 0; switch (file_header->Machine) { -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/6066