HomeFreeBSD

Allow ssp_test:read to pass more reliably

Description

Allow ssp_test:read to pass more reliably

It appears that the stackframe layout can be slightly different depending on
compiler and target architecture. For example, when using CHERI LLVM for RISC-V
we can actually overflow the buffer by up to 8 bytes without SSP detecting it.
Fix this by increasing the overflow to 15 bytes.

Reviewed By: ngie, emaste
Differential Revision: https://reviews.freebsd.org/D28997

Details

Provenance
arichardsonAuthored on Mar 1 2021, 7:50 PM
Reviewer
ngie
Differential Revision
D28997: Allow ssp_test:read to pass more reliably
Parents
rG17cc20092cd7: Fix ptrace_test:ptrace__syscall_args after ATF upgrade
Branches
Unknown
Tags
Unknown