kauth: Use strl* functions in ka_log
authorSimon Wilkinson <sxw@your-file-system.com>
Sat, 2 Mar 2013 10:54:16 +0000 (10:54 +0000)
committerJeffrey Altman <jaltman@your-file-system.com>
Thu, 7 Mar 2013 15:57:02 +0000 (07:57 -0800)
commitb535059d48ac592760e2e5b87414d9010143c993
tree1423cf670005315f5b0ea64fcb06533f92f6df66
parent508674486a5b1b3b25d7f28febb41e8712d8592d
kauth: Use strl* functions in ka_log

Switch to using the strlcat and strlcpy functions in ka_log, to
avoid potential buffer overflows.

Caught by coverity (#985824)

Change-Id: Icb537567f8ae67ecb42332cda4413274edeaa681
Reviewed-on: http://gerrit.openafs.org/9397
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
src/kauth/kalog.c