OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-3595-g788a6b6
Gerrit Code Review
gerrit@openafs.org
Sat, 9 Mar 2013 19:16:28 -0800 (PST)
The following commit has been merged in the master branch:
commit 788a6b67a088e2565c3b47ecb6e594a7b15f2757
Author: Simon Wilkinson <sxw@your-file-system.com>
Date: Sat Mar 2 12:04:46 2013 +0000
aklog: Fix overflows in auth_to_path
In the auth_to_path routine, don't use strcpy and strcat when
working with the fixed length pathtocheck buffer. Instead, use
strlcpy and strlcat to ensure that all string operations fit within
the buffer limits.
Caught by coverity (#985762)
Change-Id: I66ae11e1f49c66574d457fd79e97dd647ac98a73
Reviewed-on: http://gerrit.openafs.org/9444
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 | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
--
OpenAFS Master Repository