diff options
author | yairKoskas <yairi2003@gmail.com> | 2022-12-27 09:19:52 +0200 |
---|---|---|
committer | yairKoskas <yairi2003@gmail.com> | 2022-12-27 09:19:52 +0200 |
commit | e9d339465963968ea98cc98a5c218ccfef9b74f3 (patch) | |
tree | a21f566b87e4278be5d4f289ff48ea5424aecfd1 /src/patchelf.cc | |
parent | 3f90e4925cde85185576bef8980bc68992c341b6 (diff) | |
download | patchelf-e9d339465963968ea98cc98a5c218ccfef9b74f3.tar.gz |
Out-of-bounds read exists in the function modifySoname
Diffstat (limited to 'src/patchelf.cc')
-rw-r--r-- | src/patchelf.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/patchelf.cc b/src/patchelf.cc index 398404c..0c8e260 100644 --- a/src/patchelf.cc +++ b/src/patchelf.cc @@ -1272,6 +1272,7 @@ void ElfFile<ElfFileParamNames>::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)); } } |