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