commit 8175f6e09c5203a3246150bbd06b46a246662794 Author: Matthew Dillon <dil...@apollo.backplane.com> Date: Wed Jul 26 12:41:20 2017 -0700
libc - Fix bug in rcmdsh() * rcmdsh() (which really nothing should be using any more anyway) used a generic wait(NULL) to wait for a child to exit, but this can wind up waiting for the wrong pid in a multi-threaded or multi-fork environment. * Solved by waiting on the specific pid instead. Summary of changes: lib/libc/net/rcmdsh.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/8175f6e09c5203a3246150bbd06b46a246662794 -- DragonFly BSD source repository