The branch main has been updated by markj:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=0f4b7d28ccb5c8edd0e4aad8135a4356f8a31961

commit 0f4b7d28ccb5c8edd0e4aad8135a4356f8a31961
Author:     Mark Johnston <[email protected]>
AuthorDate: 2026-10-01 18:32:58 +0000
Commit:     Mark Johnston <[email protected]>
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 <[email protected]>
    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

Reply via email to