OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-3607-g8c664a8
Gerrit Code Review
gerrit@openafs.org
Mon, 11 Mar 2013 07:27:29 -0700 (PDT)
The following commit has been merged in the master branch:
commit 8c664a8c0f25e472bd3ba30f31fbbf707fa4e873
Author: Simon Wilkinson <sxw@your-file-system.com>
Date: Sat Mar 2 12:55:18 2013 +0000
auth: Catch long cells in backwards compat code
ktc_SetTokenEx can fall back to calling the SetToken pioctl when
the kernel module doesn't support the newer call. When we do this,
we have to transform the token structure into the older format.
Catch tokens whose cells are too long to be represented in the
older format, and bail with KTC_INVAL, rather than overflowing the
array.
Caught by coverity (#985770)
Change-Id: Ibaa1cc92c494cc6f4e56ebe7b16109d4558db131
Reviewed-on: http://gerrit.openafs.org/9449
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
src/auth/ktc.c | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
--
OpenAFS Master Repository