OpenAFS Master Repository branch, master, updated. BP--openafs-stable-1_6_x-596-g8992210

Gerrit Code Review
Mon, 27 Dec 2010 12:22:45 -0800 (PST)

The following commit has been merged in the master branch:
commit 8992210f27671673a89a541776aa105238ad14cf
Author: Simon Wilkinson <>
Date:   Sun Dec 26 14:54:43 2010 +0000

    Don't trust # of entries from ListAttributes
    ListAttributes returns the number of entries in its array as an RPC
    argument. But, we can't trust this, as it could be manipulated and
    end up pointing past the end of the returned array (which is counted,
    so the entries argument is actually pointless).
    Add bounds checking to the functions which use this value to prevent
    this problem.
    Change-Id: I62398d8f6b5c54318c1a42f1bad67a21c90ef944
    Reviewed-by: Derrick Brashear <>
    Tested-by: BuildBot <>

 src/bucoord/commands.c      |    5 +++++
 src/libadmin/vos/vosutils.c |   11 +++++++++++
 src/volser/vsutils.c        |   43 ++++++++++++++++++++++++++++++++++++++++++-
 3 files changed, 58 insertions(+), 1 deletions(-)

OpenAFS Master Repository