[msan] Fix handling of ParamTLS overflow.
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. Differential Revision: https://reviews.llvm.org/D146858
Loading
Please sign in to comment