cvs commit: src/lib/libelf libelf_ar.c

Joseph Koshy jkoshy at FreeBSD.org
Sun Dec 24 18:06:32 PST 2006


jkoshy      2006-12-25 02:06:32 UTC

  FreeBSD src repository

  Modified files:
    lib/libelf           libelf_ar.c 
  Log:
  Use strncpy() instead of strlcpy() when copying members of
  a `struct ar_hdr'.  These members do not use NUL-termination
  while strlcpy() expects its source buffer to be NUL-terminated.
  
  Revision  Changes    Path
  1.2       +11 -8     src/lib/libelf/libelf_ar.c


More information about the cvs-src mailing list