diff --git a/src/ld_so/dso.rs b/src/ld_so/dso.rs index 4b34082b2b..afb4c7c1e6 100644 --- a/src/ld_so/dso.rs +++ b/src/ld_so/dso.rs @@ -777,7 +777,7 @@ impl DSO { let dynstrtab = StringTable::new( &*mmap, strtab_offset as u64, - strtab_offset as u64 + strtab_size, + strtab_offset as u64 + strtab_size as u64, ); let get_str = |entry: &Dyn| {