From 46302172d47709b169c4b9b4cd6a4847fc2f0b4c Mon Sep 17 00:00:00 2001 From: Peter Krempa Date: Mon, 5 Sep 2022 14:38:09 +0200 Subject: [PATCH] build: Decrease maximum stack frame size to 2048 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit After recent cleanups we can now restrict the maximum stack frame size to 2k. Signed-off-by: Peter Krempa Reviewed-by: Ján Tomko --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index ed9f4b3f70..9d3703a321 100644 --- a/meson.build +++ b/meson.build @@ -226,7 +226,7 @@ alloc_max = run_command( ) # sanitizer instrumentation may enlarge stack frames -stack_frame_size = get_option('b_sanitize') == 'none' ? 4096 : 32768 +stack_frame_size = get_option('b_sanitize') == 'none' ? 2048 : 32768 # array_bounds=2 check triggers false positive on some GCC # versions when using sanitizers. Seen on Fedora 34 with