OpenAFS Master Repository branch, openafs-stable-1_4_x, updated. 8644f90a75281c8f678e2c3b93531857b9f3fa1f

Gerrit Code Review
Fri, 18 Dec 2009 16:13:45 -0800 (PST)

The following commit has been merged in the openafs-stable-1_4_x branch:
commit 8644f90a75281c8f678e2c3b93531857b9f3fa1f
Author: Andrew Deason <>
Date:   Thu Dec 17 14:59:44 2009 -0600

    Do not trust FetchData length from fileservers
    Currently the Unix CM implicitly trusts that the length from a FetchData
    request from a fileserver will always be less than the requested length.
    If the fileserver sends more data than requested, we can use up more
    cache space than we intended, possibly exceeding the cacheinfo cache
    Add a check for this, and return EIO to the caller if the fileserver
    responds with too much data.
    Tested-by: Andrew Deason <>
    Reviewed-by: Derrick Brashear <>
    Tested-by: Derrick Brashear <>
    (cherry picked from commit c7b92a3018044f7aca4d9a77644e5c06ef64d1e9)
    Change-Id: Ibbbc989cfb6522bb7d3c3003d31931549812d18e
    Reviewed-by: Derrick Brashear <>
    Tested-by: Derrick Brashear <>

 src/afs/afs_dcache.c |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)

OpenAFS Master Repository