summaryrefslogtreecommitdiffhomepage
path: root/src/output/pe_output_image_strings.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/output/pe_output_image_strings.c')
-rw-r--r--src/output/pe_output_image_strings.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/output/pe_output_image_strings.c b/src/output/pe_output_image_strings.c
index a2b16fa..b0555eb 100644
--- a/src/output/pe_output_image_strings.c
+++ b/src/output/pe_output_image_strings.c
@@ -33,9 +33,9 @@ int pe_output_image_strings(
}
mark = (char *)meta->image.addr;
- mark += meta->coff.ptr_to_string_tbl;
+ mark += meta->coff.cfh_ptr_to_str_tbl;
- cap = mark + meta->coff.size_of_string_tbl;
+ cap = mark + meta->coff.cfh_size_of_str_tbl;
mark += sizeof(uint32_t);
for (ch=mark; ch<cap; ) {