git: 0f4b7d28ccb5 - main - ssp: Make the panic string more accurate
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 02 Oct 2026 13:47:11 UTC
The branch main has been updated by markj:
URL: https://cgit.FreeBSD.org/src/commit/?id=0f4b7d28ccb5c8edd0e4aad8135a4356f8a31961
commit 0f4b7d28ccb5c8edd0e4aad8135a4356f8a31961
Author: Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2026-10-01 18:32:58 +0000
Commit: Mark Johnston <markj@FreeBSD.org>
CommitDate: 2026-10-02 13:46:58 +0000
ssp: Make the panic string more accurate
"stack overflow detected" sounds like the thread faulted because it
ran out of stack space.
Reported by: Andrew <xxx.sys@protonmail.com>
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
---
sys/kern/stack_protector.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/sys/kern/stack_protector.c b/sys/kern/stack_protector.c
index bf8ec4187c1d..960df45100f1 100644
--- a/sys/kern/stack_protector.c
+++ b/sys/kern/stack_protector.c
@@ -11,8 +11,7 @@ void __stack_chk_fail(void);
void
__stack_chk_fail(void)
{
-
- panic("stack overflow detected; backtrace may be corrupted");
+ panic("stack buffer overflow detected; backtrace may be corrupted");
}
static void