The following commit has been merged in the openafs-stable-1_6_x branch:
commit 687c60bdec2d886b866b8a0cbfa975a20106f9ab
Author: Michael Meffie <[email protected]>
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.
    
    Reviewed-on: http://gerrit.openafs.org/11750
    Tested-by: BuildBot <[email protected]>
    Reviewed-by: Benjamin Kaduk <[email protected]>
    (cherry picked from commit 121ac2d939e19741986ddfbd387b5310c40edd0d)
    
    Change-Id: Ifaa5ba1df0e40ae03e5a80fa7f0490196e7e4369
    Reviewed-on: http://gerrit.openafs.org/12102
    Tested-by: BuildBot <[email protected]>
    Reviewed-by: Michael Meffie <[email protected]>
    Reviewed-by: Stephan Wiesand <[email protected]>

 src/ptserver/display.c |  158 +++++++++++++++++++++++++++---------------------
 src/ptserver/display.h |    2 +
 2 files changed, 90 insertions(+), 70 deletions(-)

-- 
OpenAFS Master Repository
_______________________________________________
OpenAFS-cvs mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-cvs

Reply via email to