diff options
author | midipix <writeonce@midipix.org> | 2016-12-01 06:15:50 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-12-01 06:15:50 -0500 |
commit | 9b6975e989a2aff8c18f7496a2f730874ad3b08e (patch) | |
tree | 445c66fe73653a9c1cbe078308cbf9f15edc942c /src/logic | |
parent | 012431abcb9b2fdba8e1c55d774d551a161ae5fe (diff) | |
download | perk-9b6975e989a2aff8c18f7496a2f730874ad3b08e.tar.bz2 perk-9b6975e989a2aff8c18f7496a2f730874ad3b08e.tar.xz |
struct pe_raw_opt_hdr_{32|64}: member name normalization.
Diffstat (limited to 'src/logic')
-rw-r--r-- | src/logic/pe_get_image_meta.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/logic/pe_get_image_meta.c b/src/logic/pe_get_image_meta.c index d329727..007bda6 100644 --- a/src/logic/pe_get_image_meta.c +++ b/src/logic/pe_get_image_meta.c @@ -203,7 +203,7 @@ int pe_get_image_meta( return pe_free_image_meta_impl( m,PERK_CUSTOM_ERROR(dctx,ret)); - mark = &m->aopt->opt_hdr_32.magic[0]; + mark = &m->aopt->opt_hdr_32.coh_magic[0]; m->asectbl = (struct pe_raw_sec_hdr *)(mark + m->coff.cfh_size_of_opt_hdr); if (!(m->sectbl = calloc(m->coff.cfh_num_of_sections,sizeof(*(m->sectbl))))) |