On Mon, Mar 05, 2001 at 11:23:12PM +0100, Kaspar Landsberg wrote: > @@ -854,3 +900,3 @@ > pattern = args[6]; > - strcpy(reason, args[7]); > + strncpy(reason, args[7],sizeof(reason)-1); you have to add following here: + reason[sizeof(reason)-1)]='\0'; sorry for mess up p.