[PATCH] D79133: [scudo] Zero- and pattern-initialization of memory.

Alexander Potapenko via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 30 09:02:46 PDT 2020


glider added a comment.

Out of curiosity, is there any reason to have pattern initialization for heap?
As security researchers note (see the discussion of stack initialization on cfe-dev), zero-initialization has a smaller probability of making existing bugs exploitable.
On the other hand, there is no downside in making the heap zero-initialized, as library features do not introduce language dialects.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D79133/new/

https://reviews.llvm.org/D79133





More information about the llvm-commits mailing list