Initialize word in the childs stack which will be loaded into the %esi register.

This commit is contained in:
Ulrich Drepper 2002-11-18 07:41:00 +00:00
parent 9b57c1c1e4
commit dde36a31c0
1 changed files with 2 additions and 0 deletions

View File

@ -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