]> granicus.if.org Git - sudo/commit
Fix a race between when we get the child pid in the parent and when
authorTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 8 Apr 2010 10:12:47 +0000 (06:12 -0400)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 8 Apr 2010 10:12:47 +0000 (06:12 -0400)
commita3f42783886b253050a5f5d712afc950cca23571
tree4895ce42a7d31c1c37c4a3d801220ac136cbb4eb
parent29f22dba2d83dbbf25d94df1f92287463d7203c2
Fix a race between when we get the child pid in the parent and when
the child process exits.  The problem exhibited as a hang after a
short-lived process, e.g. "sudo id" when no IO logger was enabled.
src/script.c