[PATCH (pushed)] build: Fix assignment into 'stack_frame_size' when sanitizer is enabled

Peter Krempa posted 1 patch 8 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/d9c04cdc34683019ef539f7d608a3672cad35420.1693829421.git.pkrempa@redhat.com
meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH (pushed)] build: Fix assignment into 'stack_frame_size' when sanitizer is enabled
Posted by Peter Krempa 8 months ago
Instead of an assignment into the 'stack_frame_size' variable when
sanitizers are enabled I've accidentally compared the value against the
requested size.

Fix the typo.

Fixes: b68faa99d9f16c2f504b23737040d25d072ee85d
Signed-off-by: Peter Krempa <pkrempa@redhat.com>
---
 meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meson.build b/meson.build
index d29761bc71..e0ee4f2f21 100644
--- a/meson.build
+++ b/meson.build
@@ -256,7 +256,7 @@ endif

 # sanitizer instrumentation may enlarge stack frames
 if get_option('b_sanitize') == 'none'
-  stack_frame_size == 32768
+  stack_frame_size = 32768
 endif

 # array_bounds=2 check triggers false positive on some GCC
-- 
2.41.0