NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

PR/57721 CVS commit: src/tests/lib/libpthread



The following reply was made to PR lib/57721; it has been noted by GNATS.

From: "Taylor R Campbell" <riastradh%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc: 
Subject: PR/57721 CVS commit: src/tests/lib/libpthread
Date: Mon, 27 Nov 2023 22:15:08 +0000

 Module Name:	src
 Committed By:	riastradh
 Date:		Mon Nov 27 22:15:08 UTC 2023
 
 Modified Files:
 	src/tests/lib/libpthread: t_stack.c
 
 Log Message:
 libpthread/t_stack: Make this more robust to the guard size bug.
 
 Make sure to allocate enough space for the thread's stack for a guard
 even though there shouldn't be one, so that when we run the thread,
 it doesn't start with the stack pointer pointing into someone else's
 allocation (like malloc) causing stack frames to trash another data
 structure -- or causing the user of that data structure to trash the
 stack frames.
 
 PR lib/57721
 
 XXX pullup-10
 XXX pullup-9
 XXX pullup-8
 
 
 To generate a diff of this commit:
 cvs rdiff -u -r1.1 -r1.2 src/tests/lib/libpthread/t_stack.c
 
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.
 


Home | Main Index | Thread Index | Old Index