Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
i#2113: avoid racy crashes in ELF header queries
Changes is_elf_so_header_common() to always use a safe_read() once the fast version is available during init. This avoids crashes due to protection changing in a racy manner. Fixes #2113 Review-URL: https://codereview.appspot.com/319000043
- Loading branch information
1 parent
03ce33b
commit 71427ac
Showing
3 changed files
with
27 additions
and
2 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