diff --git a/compiler-rt/lib/scudo/standalone/secondary.h b/compiler-rt/lib/scudo/standalone/secondary.h --- a/compiler-rt/lib/scudo/standalone/secondary.h +++ b/compiler-rt/lib/scudo/standalone/secondary.h @@ -363,11 +363,11 @@ } struct CachedBlock { - uptr CommitBase; - uptr CommitSize; - uptr BlockBegin; - MemMapT MemMap; - u64 Time; + uptr CommitBase = 0; + uptr CommitSize = 0; + uptr BlockBegin = 0; + MemMapT MemMap = {}; + u64 Time = 0; }; void releaseIfOlderThan(CachedBlock &Entry, u64 Time) REQUIRES(Mutex) {