]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
build: Decrease maximum stack frame size to 2048
authorPeter Krempa <pkrempa@redhat.com>
Mon, 5 Sep 2022 12:38:09 +0000 (14:38 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 4 Sep 2023 08:31:53 +0000 (10:31 +0200)
After recent cleanups we can now restrict the maximum stack frame size
to 2k.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Kristina Hanicova <khanicov@redhat.com>
meson.build

index dd7a4e8d34c2485c1492b9c50a9304acf42414b3..6b6f7ccb7c670e020542f8f69b121d8dfdad96f2 100644 (file)
@@ -248,7 +248,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