crypt can get confused when in pipes

Henry Spencer henry at utzoo.UUCP
Wed Jan 30 10:52:02 AEST 1985


>    I'm not sure why crypt inherited another process in the first place...I
>    think something else may smell a bit here, too, especially when one
>    considers the contrivance one must go through to make this bug apparent.
>    [Running crypt at the end of at least a 3-stage pipeline.]

A well-known fact of life, which some programs don't pay quite enough
attention to, is that the earlier processes in complex sh pipelines are
the children of the later ones.  Processes doing a wait() should *always*
check to make sure that the child they end up with is the right one.
-- 
				Henry Spencer @ U of Toronto Zoology
				{allegra,ihnp4,linus,decvax}!utzoo!henry



More information about the Comp.bugs.4bsd.ucb-fixes mailing list