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 {


Mike

-- 
  Mike Heffner     <mheffner@[acm.]vt.edu>
  Blacksburg, VA       <[EMAIL PROTECTED]>

PGP signature

Reply via email to