summaryrefslogtreecommitdiffhomepage
path: root/src/reader/pe_read_coff_symbol.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/reader/pe_read_coff_symbol.c')
-rw-r--r--src/reader/pe_read_coff_symbol.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/reader/pe_read_coff_symbol.c b/src/reader/pe_read_coff_symbol.c
index 259f370..0c6a40d 100644
--- a/src/reader/pe_read_coff_symbol.c
+++ b/src/reader/pe_read_coff_symbol.c
@@ -47,8 +47,8 @@ int pe_read_coff_symbol(
mark = (char *)base;
roffset = pe_read_long(&p->name[4]);
- if (roffset < coff->size_of_string_tbl)
- m->long_name = mark + coff->ptr_to_string_tbl + roffset;
+ if (roffset < coff->cfh_size_of_str_tbl)
+ m->long_name = mark + coff->cfh_ptr_to_str_tbl + roffset;
}
return 0;