[all-commits] [llvm/llvm-project] 7a5559: [scudo] Initialize the allocator in setTrackAlloca...

Evgenii Stepanov via All-commits all-commits at lists.llvm.org
Wed Apr 29 17:10:20 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 7a555958f111094df4336209fd05522d07c483b0
      https://github.com/llvm/llvm-project/commit/7a555958f111094df4336209fd05522d07c483b0
  Author: Evgenii Stepanov <eugenis at google.com>
  Date:   2020-04-29 (Wed, 29 Apr 2020)

  Changed paths:
    M compiler-rt/lib/scudo/standalone/combined.h

  Log Message:
  -----------
  [scudo] Initialize the allocator in setTrackAllocationStacks.

Summary:
If this is called before the malloc call in a thread (or in the whole
program), the lazy initialization of the allocation can overwrite
Options.

Reviewers: pcc, cryptoad

Subscribers: #sanitizers, llvm-commits

Tags: #sanitizers

Differential Revision: https://reviews.llvm.org/D79130




More information about the All-commits mailing list