NetBSD-Bugs archive

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

PR/60653 CVS commit: src/sys/kern



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

From: "Taylor R Campbell" <riastradh%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc: 
Subject: PR/60653 CVS commit: src/sys/kern
Date: Fri, 28 Aug 2026 06:33:50 +0000

 Module Name:	src
 Committed By:	riastradh
 Date:		Fri Aug 28 06:33:50 UTC 2026
 
 Modified Files:
 	src/sys/kern: exec_script.c kern_exec.c
 
 Log Message:
 exec: Free struct exec_package::ep_emul_arg in more error paths.
 
 We should really formalize the destruction path for these temporary
 exec data structures; these error branches are all tangled messes of
 spaghetti.
 
 PR kern/60657: panic: kernel diagnostic assertion "epp->ep_emul_arg
 == NULL" failed: file
 "/home/riastradh/netbsd/current/src/sys/kern/kern_exec.c", line 535
 
 Test case forthcoming (it would panic the testbed) as part of
 
 PR kern/60653: posix_spawn(3) causes incorrect stack base information
 
 which is how I stumbled upon this.
 
 
 To generate a diff of this commit:
 cvs rdiff -u -r1.85 -r1.86 src/sys/kern/exec_script.c
 cvs rdiff -u -r1.533 -r1.534 src/sys/kern/kern_exec.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