[PATCH] D48255: [sanitizer] Fix LSAN for 32-bit glibc before 2.27

Peter Wu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Jun 16 03:16:36 PDT 2018


Lekensteyn created this revision.
Lekensteyn added reviewers: vitalybuka, kcc, jakubjelinek.
Lekensteyn added a project: Sanitizers.
Herald added subscribers: Sanitizers, llvm-commits, kubamracek.

When dlvsym fails (because the requested symbol does not exist), it
might call malloc and crash with LSAN. Fixes regression in r334363.


Repository:
  rCRT Compiler Runtime

https://reviews.llvm.org/D48255

Files:
  lib/sanitizer_common/sanitizer_linux_libcdep.cc

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48255.151613.patch
Type: text/x-patch
Size: 4571 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180616/55f9d9bd/attachment.bin>


More information about the llvm-commits mailing list