]> git.neil.brown.name Git - history.git/commitdiff
Missed initialization of "curr_target" in execve() dethreading case.
authorLinus Torvalds <torvalds@home.transmeta.com>
Thu, 13 Feb 2003 01:22:22 +0000 (17:22 -0800)
committerVojtech Pavlik <vojtech@kernel.bkbits.net>
Thu, 13 Feb 2003 01:22:22 +0000 (17:22 -0800)
fs/exec.c

index fffe3d0bb1896ebed414aeb445aa10a93a7d0451..ace3537412295ec8de7889e5604c7bc48adc7f52 100644 (file)
--- a/fs/exec.c
+++ b/fs/exec.c
@@ -596,6 +596,7 @@ static inline int de_thread(struct task_struct *tsk)
                newsig->group_exit_code = 0;
                newsig->group_exit_task = NULL;
                newsig->group_stop_count = 0;
+               newsig->curr_target = NULL;
                init_sigpending(&newsig->shared_pending);
        }