cvs commit: src/usr.sbin/kldxref kldxref.c

Warner Losh imp at
Sat Aug 5 18:22:25 UTC 2006

imp         2006-08-05 18:22:11 UTC

  FreeBSD src repository

  Modified files:
    usr.sbin/kldxref     kldxref.c 
  Use safe strlcpy rather than unsafe strncpy.  After marcel's last fix,
  there was still one overflow possible.  strlcpy is faster anyway
  because it doesn't unexpectedly zero the entire length of the string
  when copying short strings....
  Revision  Changes    Path
  1.14      +2 -4      src/usr.sbin/kldxref/kldxref.c

More information about the cvs-src mailing list