Ironically, MSan copies uninitialized data off the stack into
VAArgTLSCopy in the callee-side handling of va_start. Clamp the copy
size to the actual length of the buffer, and zero-initialize the
remainder.
Details
Details
- Reviewers
vitalybuka - Commits
- rGe0f7ef4b9ccf: [msan] Fix handling of ParamTLS overflow.
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
should the tail be poisoned instead?