From d34ab8bdb645bcf57d27044828b0754c49933b5e Mon Sep 17 00:00:00 2001 From: midipix Date: Wed, 30 Nov 2016 19:31:28 -0500 Subject: struct pe_{raw|meta}_opt_hdr_std: member name normalization. --- src/logic/pe_get_image_meta.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/logic') diff --git a/src/logic/pe_get_image_meta.c b/src/logic/pe_get_image_meta.c index bb461ff..8d0747e 100644 --- a/src/logic/pe_get_image_meta.c +++ b/src/logic/pe_get_image_meta.c @@ -301,11 +301,11 @@ int pe_get_image_meta( if ((ret = pe_read_import_lookup( &(m->idata[i].aitems[j]), &(m->idata[i].items[j]), - m->opt.std.magic))) + m->opt.std.coh_magic))) return pe_free_image_meta_impl( m,PERK_CUSTOM_ERROR(dctx,ret)); - switch (m->opt.std.magic) { + switch (m->opt.std.coh_magic) { case PE_MAGIC_PE32: m->idata[i].items[j].flags = m->idata[i].items[j].u.import_lookup_entry_32; break; -- cgit v1.2.3