This fixes https://code.google.com/p/address-sanitizer/issues/detail?id=399
(sanitizers crash with empty suppression files).
Details
Details
Diff Detail
Diff Detail
Paths
| Differential D11284
[Sanitizer] Teach ReadFileToBuffer to distinguish empty file from inaccessible file. ClosedPublic Authored by samsonov on Jul 16 2015, 4:59 PM.
Details Summary This fixes https://code.google.com/p/address-sanitizer/issues/detail?id=399
Diff Detail Event TimelineThis revision is now accepted and ready to land.Jul 17 2015, 2:19 PM Closed by commit rL242594: [Sanitizer] Teach ReadFileToBuffer to distinguish empty file from… (authored by samsonov). · Explain WhyJul 17 2015, 4:50 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 29965 lib/sanitizer_common/sanitizer_common.h
lib/sanitizer_common/sanitizer_common.cc
lib/sanitizer_common/sanitizer_flags.cc
lib/sanitizer_common/sanitizer_linux.cc
lib/sanitizer_common/sanitizer_procmaps_common.cc
lib/sanitizer_common/sanitizer_procmaps_linux.cc
lib/sanitizer_common/sanitizer_suppressions.cc
test/lsan/TestCases/suppressions_file.cc
|