[all-commits] [llvm/llvm-project] 395f73: msan: check that ucontext_t is initialized on sign...
Dmitry Vyukov via All-commits
all-commits at lists.llvm.org
Wed Jan 5 04:21:03 PST 2022
Author: Dmitry Vyukov <dvyukov at google.com>
Date: 2022-01-05 (Wed, 05 Jan 2022)
msan: check that ucontext_t is initialized on signal return
A signal handler can alter ucontext_t to affect execution after
the signal returns. Check that the contents are initialized.
Restoring unitialized values in registers can't be good.
Reviewed By: vitalybuka
Differential Revision: https://reviews.llvm.org/D116209
More information about the All-commits