OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-3590-g25011b4
Gerrit Code Review
gerrit@openafs.org
Sat, 9 Mar 2013 19:13:45 -0800 (PST)
The following commit has been merged in the master branch:
commit 25011b4544e48dffd5978201669f7b9e23da3144
Author: Simon Wilkinson <sxw@your-file-system.com>
Date: Fri Mar 1 12:08:46 2013 +0000
fs: Fix improper use of readlink
readlink returns a non-NUL terminated buffer. If we are going to
terminate its response, we need to make sure that there's space to
do so. So the length passed to readlink should be one less than the
real length of the buffer.
Caught by coverity (#985596)
Change-Id: I47081877a54a7b3d99ab8e6ec52d4663acd2eeb6
Reviewed-on: http://gerrit.openafs.org/9328
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
src/venus/fs.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
--
OpenAFS Master Repository