[COMMITTED] [PATCH] posix: Fix posix_spawn invalid memory access

Florian Weimer fw@deneb.enyo.de
Mon Mar 21 13:54:00 GMT 2016


* Adhemerval Zanella:

> -  if (!ec && new_pid)
> +  if (!ec && pid)

I think the general convention is not to perform implicit NULL checks,
so it should be “pid != NULL”.



More information about the Libc-alpha mailing list