Out-of-bounds read exists in the function modifySoname

This commit is contained in:
yairKoskas 2022-12-27 09:19:52 +02:00
parent 3f90e4925c
commit e9d3394659
1 changed files with 1 additions and 0 deletions

View File

@ -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));
}
}