Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Apr 1997 05:28:56 +0400 (MSD)
From:      =?KOI8-R?B?4c7E0sXKIP7F0s7P1w==?= <ache@nagual.ru>
To:        Tor Egge <Tor.Egge@idi.ntnu.no>
Cc:        Bruce Evans <bde@zeta.org.au>, FreeBSD-current <current@freebsd.org>, dyson@freebsd.org
Subject:   Re: Recent vfork kernel changes broke csh & tcsh!
Message-ID:  <Pine.BSF.3.96.970423052647.437B-100000@nagual.ru>
In-Reply-To: <199704222300.BAA12591@pat.idt.unit.no>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 23 Apr 1997, Tor Egge wrote:

> ----  exec_shell_imgact in imgact_shell.c
> 
> 	/* set argv[0] to point to original file name */
> 	suword(imgp->uap->argv, (int)imgp->uap->fname);

Yes, this code directly modify child argv which father attempts to free
later...
We should copy argv somehow. Any ideas?

-- 
Andrey A. Chernov
<ache@null.net>
http://www.nagual.ru/~ache/




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.970423052647.437B-100000>