Date: Mon, 17 Aug 1998 18:45:25 -0400 (EDT) Message-Id: <199808172245.SAA10619@delorie.com> From: DJ Delorie To: robert DOT hoehne AT gmx DOT net CC: djgpp-workers AT delorie DOT com In-reply-to: <35D88882.F634E900@gmx.net> (message from Robert Hoehne on Mon, 17 Aug 1998 19:46:10 +0000) Subject: Re: Bug in crt1.c (alpha 980712) Precedence: bulk > - strncpy(prog_name, fc, 16); > + strcpy(prog_name, fc); Beware: strncpy does NOT guarantee that the destination has a trailing NULL.