We didn't acquire the mutex while accessing those lock protected data,
this CL fixes it and now we don't need to disable the allocator while
reading its states.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D142149
[scudo] Calling getStats requires holding lock ClosedPublic Authored by Chia-hungDuan on Jan 19 2023, 11:11 AM.
Details Summary We didn't acquire the mutex while accessing those lock protected data,
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Feb 9 2023, 10:54 PM Closed by commit rG70758b801df9: [scudo] Calling getStats requires holding lock (authored by Chia-hungDuan). · Explain WhyFeb 13 2023, 3:11 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 490604 compiler-rt/lib/scudo/standalone/combined.h
compiler-rt/lib/scudo/standalone/primary32.h
compiler-rt/lib/scudo/standalone/primary64.h
compiler-rt/lib/scudo/standalone/quarantine.h
compiler-rt/lib/scudo/standalone/secondary.h
|