Page MenuHomeFreeBSD

D44498.diff
No OneTemporary

D44498.diff

diff --git a/sys/kern/init_main.c b/sys/kern/init_main.c
--- a/sys/kern/init_main.c
+++ b/sys/kern/init_main.c
@@ -784,6 +784,7 @@
*/
KASSERT((td->td_pflags & TDP_EXECVMSPC) == 0,
("nested execve"));
+ memset(td->td_frame, 0, sizeof(*td->td_frame));
oldvmspace = p->p_vmspace;
error = kern_execve(td, &args, NULL, oldvmspace);
KASSERT(error != 0,

File Metadata

Mime Type
text/plain
Expires
Mon, Nov 18, 9:37 PM (21 h, 52 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14705116
Default Alt Text
D44498.diff (372 B)

Event Timeline