diff --git a/src/patchelf.cc b/src/patchelf.cc index 398404c8..0c8e2607 100644 --- a/src/patchelf.cc +++ b/src/patchelf.cc @@ -1272,6 +1272,7 @@ void ElfFile::modifySoname(sonameMode op, const std::string & if (rdi(dyn->d_tag) == DT_SONAME) { dynSoname = dyn; soname = strTab + rdi(dyn->d_un.d_val); + checkPointer(fileContents, strTab, rdi(dyn->d_un.d_val)); } }