diff options
Diffstat (limited to '14.2.0/gentoo/22_all_default_ssp-buffer-size.patch')
-rw-r--r-- | 14.2.0/gentoo/22_all_default_ssp-buffer-size.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/14.2.0/gentoo/22_all_default_ssp-buffer-size.patch b/14.2.0/gentoo/22_all_default_ssp-buffer-size.patch new file mode 100644 index 0000000..0e0dd42 --- /dev/null +++ b/14.2.0/gentoo/22_all_default_ssp-buffer-size.patch @@ -0,0 +1,14 @@ +Change the minimal SSP buffer size. + +https://bugs.gentoo.org/484714 +--- a/gcc/params.opt ++++ b/gcc/params.opt +@@ -1012,7 +1012,7 @@ Common Joined UInteger Var(param_ssa_name_def_chain_limit) Init(512) Param Optim + The maximum number of SSA_NAME assignments to follow in determining a value. + + -param=ssp-buffer-size= +-Common Joined UInteger Var(param_ssp_buffer_size) Init(8) IntegerRange(1, 65536) Param Optimization ++Common Joined UInteger Var(param_ssp_buffer_size) Init(4) IntegerRange(1, 65536) Param Optimization + The lower bound for a buffer to be considered for stack smashing protection. + + -param=stack-clash-protection-guard-size= |