[patch] ia64/clone2: make sure child_stack is non-NULL
Mike Frysinger
vapier@gentoo.org
Thu Feb 23 01:19:00 GMT 2006
playing with uClibc/ia64 and i noticed that a test case we have for testing
the return value of clone() when given bum arguments was failing ... seems
the clone2() function in ia64 never verifies child_stack like all other
architectures
attached patch adds a check for child_stack alongside the check for
child_fn ... i know squat about ia64 assembly so i'd be surprised if this was
correct :)
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: glibc-ia64-clone2-check-child-stack.patch
Type: text/x-diff
Size: 721 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20060223/ba8f81b7/attachment.bin>
More information about the Libc-alpha
mailing list