On Tue, Sep 04, 2001 at 12:28:28AM -0400, Mike Heffner wrote:
> 
> On 03-Sep-2001 [EMAIL PROTECTED] wrote:
> | Between last weekend and this weekend, something changed in syslogd 
> | seems to have resulted in this boot-time error.  The syslogd.c deltas 
> | from 1.82 -> 1.83 look suspect since the handling of relevant variables 
> | has changed.
> 
> This change looks wrong:
> 
> 
> @@ -1679,16 +1659,17 @@ cfline(line, f, prog, host)
>                                 f->f_type = F_CONSOLE;
>                         else
>                                 f->f_type = F_TTY;
> -                    (void)strcpy(f->f_un.f_fname, p + sizeof _PATH_DEV - 1);
> +                    (void)strlcpy(f->f_un.f_fname, p + sizeof(_PATH_DEV - 1),
>                                                               ^^^^^^^^^^^^^^^
> +                           sizeof(f->f_un.f_fname));
>                 } else {

Oops, that was a last minute change to try and impose some style
consistency on my changes (if not the entire file).  I'll fix it.

Kris

PGP signature

Reply via email to