OpenAFS Master Repository branch, openafs-stable-1_4_x, updated. openafs-stable-1_4_12-131-g7965816

Gerrit Code Review
Mon, 24 Oct 2011 03:49:26 -0700 (PDT)

The following commit has been merged in the openafs-stable-1_4_x branch:
commit 796581621861264a8cfb978cd749546de73825f1
Author: Simon Wilkinson <>
Date:   Fri Apr 15 19:40:45 2011 +0100

    dir: Protect against circular hash chains
    The dir package didn't protect against circular hash chains when
    performing directory lookups. A corrupt directory could therefore
    cause a client or a fileserver to go into an endless loop if that
    directory contained a loop in its hash chain pointers.
    Fix this by exiting the lookup if the hash chain has more elements
    than the total number of entries in a directory. This maximum number
    of entries is taken as being (number of entries per page) * (max
    number of pages), which is considerably more than the real maximum
    Change-Id: I9e281571f3b01bd8de346ee5418df38b2f5edaa1
    Tested-by: BuildBot <>
    Reviewed-by: Derrick Brashear <>

 src/dir/dir.c |   35 +++++++++++++++++++++++------------
 1 files changed, 23 insertions(+), 12 deletions(-)

OpenAFS Master Repository