-
Notifications
You must be signed in to change notification settings - Fork 479
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
symbol: validate ELF format before using it
sometime uftrace should reference the address (eg, section offset) that the ELF field points to. Since section headers are not essential, they can refer to insecure memory and cause errors such as segment faults. so, add logic to validate ELF before using it. Fixed: #412 Signed-off-by: Hanbum Park <kese111@gmail.com>
- Loading branch information
1 parent
dd5ce3d
commit 65b18f2
Showing
3 changed files
with
148 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters