Skip to content

Commit

Permalink
Make INIT_ALL=zero the default
Browse files Browse the repository at this point in the history
Zero portions of the stack the compiler can not prove are initialized
before use or escape.
  • Loading branch information
brooksdavis committed Jun 7, 2024
1 parent 34862e8 commit a787bee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion share/mk/bsd.opts.mk
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ __SINGLE_OPTIONS = \
INIT_ALL

__INIT_ALL_OPTIONS= none pattern zero
__INIT_ALL_DEFAULT= none
__INIT_ALL_DEFAULT= zero

.-include <local.opts.mk>

Expand Down

0 comments on commit a787bee

Please sign in to comment.