[all-commits] [llvm/llvm-project] de6f72: [sanitizer_common] Fix readlink error handling in ...
Rich Lowe via All-commits
all-commits at lists.llvm.org
Tue Nov 2 14:06:52 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: de6f7252daf5da7fffa504a4c0106f377dbe76a0
https://github.com/llvm/llvm-project/commit/de6f7252daf5da7fffa504a4c0106f377dbe76a0
Author: Rich Lowe <richlowe at richlowe.net>
Date: 2021-11-02 (Tue, 02 Nov 2021)
Changed paths:
M compiler-rt/lib/sanitizer_common/sanitizer_procmaps_solaris.cpp
Log Message:
-----------
[sanitizer_common] Fix readlink error handling in sanitizer_procmaps_solaris.cpp
As pointed out in Bug 52371, the Solaris version of
`MemoryMappingLayout::Next` completely failed to handle `readlink` errors
or properly NUL-terminate the result.
This patch fixes this. Originally provided in the PR with slight
formatting changes.
Tested on `amd64-pc-solaris2.11`.
Differential Revision: https://reviews.llvm.org/D112998
More information about the All-commits
mailing list