OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-4733-g3e9e244

Gerrit Code Review gerrit@openafs.org
Tue, 17 Nov 2015 23:48:12 -0500


The following commit has been merged in the master branch:
commit 121ac2d939e19741986ddfbd387b5310c40edd0d
Author: Michael Meffie <mmeffie@sinenomine.net>
Date:   Tue Feb 17 21:11:50 2015 -0500

    libprot: add pr_PrintContEntry function
    
    A continuation entry (struct contentry) contains 39 id elements, however
    a regular entry (struct prentry) contains only 10 id elements. Attempting
    to access more than 10 elements of a regular entry is undefined
    behavior.
    
    Add a new function to safely print continuation entries and change
    pr_PrintEntry to avoid accessing the entries array out of bounds.
    
    The pr_PrintEntry function is at this time only used by the prdb_check
    and ptclient debugging utilities.
    
    Change-Id: Ie836983c8a5970a9495b87d0627ba6c05d117a9b
    Reviewed-on: http://gerrit.openafs.org/11750
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>

 src/ptserver/display.c           |  154 +++++++++++++++++++++-----------------
 src/ptserver/display.h           |    2 +
 src/ptserver/liboafs_prot.la.sym |    1 +
 3 files changed, 89 insertions(+), 68 deletions(-)

-- 
OpenAFS Master Repository