[patch] ia64/clone2: make sure child_stack is non-NULL

H. J. Lu hjl@lucon.org
Thu Feb 23 02:23:00 GMT 2006


On Wed, Feb 22, 2006 at 08:19:56PM -0500, Mike Frysinger wrote:
> 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

Can you also provide a patch for testcase?


H.J.



More information about the Libc-alpha mailing list