aklog: Fix buffer overflows in next_path
authorSimon Wilkinson <sxw@your-file-system.com>
Sat, 2 Mar 2013 12:21:06 +0000 (12:21 +0000)
committerJeffrey Altman <jaltman@your-file-system.com>
Sun, 10 Mar 2013 03:16:39 +0000 (19:16 -0800)
commitf4373e7867abd50b3fe39716073811794fe62379
tree1e81f4be48709f3c3a6f8a5df0596718aa4a0dee
parent2902ef93976fd4baa1a1ed07f4940c5979702856
aklog: Fix buffer overflows in next_path

Use strlcpy and strlcat

Caught by coverity (#985765)

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