[all-commits] [llvm/llvm-project] aa456a: [llvm-readobj/elf] - Refine the code for broken PT...
Georgii Rymar via All-commits
all-commits at lists.llvm.org
Fri Aug 21 05:06:38 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: aa456a6df4931541c6aaf0e60a77cc646b5ad4c4
https://github.com/llvm/llvm-project/commit/aa456a6df4931541c6aaf0e60a77cc646b5ad4c4
Author: Georgii Rymar <grimar at accesssoftek.com>
Date: 2020-08-21 (Fri, 21 Aug 2020)
Changed paths:
M llvm/test/tools/llvm-readobj/ELF/malformed-pt-dynamic.test
M llvm/tools/llvm-readobj/ELFDumper.cpp
Log Message:
-----------
[llvm-readobj/elf] - Refine the code for broken PT_DYNAMIC segment diagnostic.
The code that reports "PT_DYNAMIC segment offset + size exceeds the size of the file"
has an issue: it is possible to bypass the validation by overflowing the size + offset result.
Differential revision: https://reviews.llvm.org/D85519
More information about the All-commits
mailing list