Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit e201f7dc authored by Kees Cook's avatar Kees Cook Committed by Lee Jones
Browse files

UPSTREAM: lib/test_stackinit: Fix static initializer test



The static initializer test got accidentally converted to a dynamic
initializer. Fix this and retain the giant padding hole without using
an aligned struct member.

Bug: 254441685
Fixes: 50ceaa95ea09 ("lib: Introduce test_stackinit module")
Cc: Ard Biesheuvel <ardb@kernel.org>
Cc: stable@vger.kernel.org
Signed-off-by: default avatarKees Cook <keescook@chromium.org>
Link: https://lore.kernel.org/r/20210723221933.3431999-2-keescook@chromium.org


(cherry picked from commit f9398f15605a50110bf570aaa361163a85113dd1)
Signed-off-by: default avatarLee Jones <joneslee@google.com>
Change-Id: I4829d109eed03f2d16f1d544fe0f94296d3c8927
parent eab875b4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment