Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Dec 2006 02:06:32 +0000 (UTC)
From:      Joseph Koshy <jkoshy@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/lib/libelf libelf_ar.c
Message-ID:  <200612250206.kBP26WBG047488@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200612250206.kBP26WBG047488>