[all-commits] [llvm/llvm-project] 6563d2: [sanitizer_common] fix shadowed ret hiding symboli...
David CARLIER via All-commits
all-commits at lists.llvm.org
Thu Jul 16 11:50:10 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6563d2500c82deb27c7dab9bc17334de777f8cbc
https://github.com/llvm/llvm-project/commit/6563d2500c82deb27c7dab9bc17334de777f8cbc
Author: David CARLIER <devnexen at gmail.com>
Date: 2026-07-16 (Thu, 16 Jul 2026)
Changed paths:
M compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_internal.h
M compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_libcdep.cpp
M compiler-rt/lib/sanitizer_common/tests/sanitizer_symbolizer_test.cpp
Log Message:
-----------
[sanitizer_common] fix shadowed ret hiding symbolizer read failures. (#209971)
The inner `bool ret` from ReadFromFile shadowed the outer one that is
returned, so a dead/closed symbolizer (0-byte read or read error) was
reported as success: SendCommand never restarted the crashed process,
and the addr2line path aborted on a CHECK over an empty buffer.
Regression from acfeb1a6c244. Add a regression test that feeds an EOF fd
through ReadFromSymbolizer and expects failure.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list