OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-3576-g79abe9d
Gerrit Code Review
gerrit@openafs.org
Thu, 7 Mar 2013 07:53:30 -0800 (PST)
The following commit has been merged in the master branch:
commit 4f9ec8396d1c7f12f8fa264cea7c255ce62b7b8d
Author: Simon Wilkinson <sxw@your-file-system.com>
Date: Sat Mar 2 09:47:53 2013 +0000
volser: Don't overflow volume name
The maximum volume name length in the VLDB RPCs is VL_MAXNAMELEN
(65), not 64 as used as a hardcoded value in vsprocs. Switch to
using the defined value, and also use strlcat to check that we
don't overflow this.
Caught by coverity (#985849)
Change-Id: I860d4bd4ed9a22185f4a83408d163ce20d21e751
Reviewed-on: http://gerrit.openafs.org/9352
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/volser/vsprocs.c | 13 +++++++++++--
1 files changed, 11 insertions(+), 2 deletions(-)
--
OpenAFS Master Repository