OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-3809-g68e0298

Gerrit Code Review
Thu, 20 Jun 2013 05:18:14 -0700 (PDT)

The following commit has been merged in the master branch:
commit 68e02987f62e1c507ddf7fd35847338b130c243d
Author: Jeffrey Hutzelman <>
Date:   Tue Jun 18 12:35:36 2013 -0400

    userok.c: Fix fixed-size on-stack path buffers
    Several functions in src/auth/userok.c construct pathnames in fixed
    size buffers on their stacks.  Those buffers are simultaneously too
    small for the purpose for which they are used and too large to be
    placed on the stack.  This change replaces these fixed-size buffers
    with dynamically-allocated buffers which are either exactly the right
    size (due to asprintf) or have size AFSDIR_PATH_MAX.
    FIXES 130719
    Change-Id: I49b1c03d4d3525b87e155eb2d6eedf4b199a33c5
    Tested-by: BuildBot <>
    Reviewed-by: Derrick Brashear <>

 src/auth/userok.c |  104 ++++++++++++++++++++++++++++++++++++++---------------
 1 files changed, 75 insertions(+), 29 deletions(-)

OpenAFS Master Repository