From: Ulrich Drepper Date: Mon, 18 Nov 2002 07:41:00 +0000 (+0000) Subject: Initialize word in the childs stack which will be loaded into the %esi register. X-Git-Tag: upstream/2.30~20716 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=dde36a31c0cba7ed837cd176c95315535c1334b8;p=external%2Fglibc.git Initialize word in the childs stack which will be loaded into the %esi register. --- diff --git a/sysdeps/unix/sysv/linux/i386/clone.S b/sysdeps/unix/sysv/linux/i386/clone.S index 64c0778..8f655a7 100644 --- a/sysdeps/unix/sysv/linux/i386/clone.S +++ b/sysdeps/unix/sysv/linux/i386/clone.S @@ -69,6 +69,8 @@ ENTRY (BP_SYM (__clone)) It will be popped off in the child in the ebx frobbing below. */ movl FUNC(%esp),%eax movl %eax,4(%ecx) + /* Don't leak any information. */ + movl $0,(%ecx) /* Do the system call */ pushl %ebx