OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-2323-g4e68282
Gerrit Code Review
gerrit@openafs.org
Sun, 8 Apr 2012 18:17:03 -0700 (PDT)
The following commit has been merged in the master branch:
commit 4e68282e26b0c4569d25d076d54274f0da47a691
Author: Simon Wilkinson <sxw@your-file-system.com>
Date: Fri Mar 30 19:35:51 2012 +0100
venus: Make clang happy with strlcpy use
clang now expects that strlcpy will always be used to prevent overflow
of the destination string, and gives a warning if the size parameter is
based solely on the length of the source string.
Modify the BreakUpPath function so that it takes the size of the
destination string as an argument, and uses this to limit the amount of
data pasted into it.
Change-Id: I86f68dd2013ca8bc4c88ade78d27c4d416a9ae94
Reviewed-on: http://gerrit.openafs.org/7086
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementix.org>
src/venus/afsio.c | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
--
OpenAFS Master Repository