[LTP] [PATCH] cve/stack_clash: inhibit test-breaking optimizations

Petr Vorel pvorel@suse.cz
Wed Dec 5 21:50:54 CET 2018


Hi Greg,

> stack_clash relies on the compiler doing fairly specific things with the
> stack pointer.  We've run into a couple of places where clang optimized
> away the intended behavior:
...

> Signed-off-by: Greg Hackmann <ghackmann@google.com>
> ---
>  testcases/cve/Makefile      | 2 ++
>  testcases/cve/stack_clash.c | 2 +-
>  2 files changed, 3 insertions(+), 1 deletion(-)

Thanks for your patch, pushed.


Kind regards,
Petr


More information about the ltp mailing list