]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
vfork -> fork. This home made popen() had the same bug as the library
authorBruce Evans <bde@FreeBSD.org>
Sat, 10 Oct 1998 19:18:30 +0000 (19:18 +0000)
committerBruce Evans <bde@FreeBSD.org>
Sat, 10 Oct 1998 19:18:30 +0000 (19:18 +0000)
commitdb6b691087dc3e2c3320873a8e68639efe775982
tree5b073cbce3fab41afd3c289be8f3032d7fb597ff
parent4689d219ff5b9cdc0b12391447da9fa5cd8533f8
vfork -> fork.  This home made popen() had the same bug as the library
popen(), but worse.  The child calls execvp(), which calls malloc()
a bit more than execl(), and it calls non-library functions that call
malloc() and who-knows-what else (stdio is called in at least some
error cases).
usr.bin/mail/popen.c