diff mbox series

[2/2] stack_clash: Compile with -Wno-infinite-recursion

Message ID 20231024084923.217110-2-pvorel@suse.cz
State Accepted
Headers show
Series [1/2] stack_clash: Guard functions used only in 64bit | expand

Commit Message

Petr Vorel Oct. 24, 2023, 8:49 a.m. UTC
The algorithm is based on recursive calling of exhaust_stack_into_sigsegv(),
remove the warning.

Signed-off-by: Petr Vorel <pvorel@suse.cz>
---
 testcases/cve/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Cyril Hrubis Oct. 25, 2023, 9:30 a.m. UTC | #1
Hi!
Reviewed-by: Cyril Hrubis <chrubis@suse.cz>
Petr Vorel Oct. 25, 2023, 11:15 p.m. UTC | #2
Hi Cyril,

thanks, merged!

Kind regards,
Petr
diff mbox series

Patch

diff --git a/testcases/cve/Makefile b/testcases/cve/Makefile
index c5308794d..01b9b9ccb 100644
--- a/testcases/cve/Makefile
+++ b/testcases/cve/Makefile
@@ -7,7 +7,7 @@  include $(top_srcdir)/include/mk/testcases.mk
 
 CFLAGS			+= -D_GNU_SOURCE
 
-stack_clash:	CFLAGS += -fno-optimize-sibling-calls
+stack_clash:	CFLAGS += -fno-optimize-sibling-calls -Wno-infinite-recursion
 
 cve-2016-7042:	LDLIBS += $(KEYUTILS_LIBS)