diff options
Diffstat (limited to 'src/reader')
-rw-r--r-- | src/reader/pe_read_optional_header.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/reader/pe_read_optional_header.c b/src/reader/pe_read_optional_header.c index 22d9321..1b32d95 100644 --- a/src/reader/pe_read_optional_header.c +++ b/src/reader/pe_read_optional_header.c @@ -92,8 +92,8 @@ static int pe_read_optional_header_structs(const union pe_raw_opt_hdr * p, struc pdir = &m->dirs.export_tbl; for (i=0; i<m->ldr.coh_rva_and_sizes; i++) { - pdir[i].rva = pe_read_long(&mark[i*8]); - pdir[i].size = pe_read_long(&mark[i*8+4]); + pdir[i].dh_rva = pe_read_long(&mark[i*8]); + pdir[i].dh_size = pe_read_long(&mark[i*8+4]); } return 0; |