From 6a4423c870ea90fce399aa002621f72687ce06f7 Mon Sep 17 00:00:00 2001 From: Brooks Davis Date: Thu, 14 Mar 2024 16:25:33 +0000 Subject: [PATCH] Make INIT_ALL=none the default Zero portions of the stack the compiler can not prove are initialized before use or escape. --- share/mk/bsd.opts.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/mk/bsd.opts.mk b/share/mk/bsd.opts.mk index 51260533e265..2dae9ffe2db0 100644 --- a/share/mk/bsd.opts.mk +++ b/share/mk/bsd.opts.mk @@ -105,7 +105,7 @@ __SINGLE_OPTIONS = \ INIT_ALL __INIT_ALL_OPTIONS= none pattern zero -__INIT_ALL_DEFAULT= none +__INIT_ALL_DEFAULT= zero .-include