The following commit has been merged in the openafs-stable-1_6_x branch:
commit 5ad98f49dfb52b9f20375a9163ec17dd184523b3
Author: Simon Wilkinson <[email protected]>
Date:   Sat Mar 2 09:35:01 2013 +0000

    kauth: Don't overflow stack when building username
    
    knfs constructs the userName by combining the clientName.name
    and clientName.instance arrays, along with a dot separator. Make
    sure that the userName array is big enough to hold these, and
    use strlcpy and strlcat just to make sure.
    
    Caught by coverity (#985829)
    
    Reviewed-on: http://gerrit.openafs.org/9351
    Tested-by: BuildBot <[email protected]>
    Reviewed-by: Jeffrey Altman <[email protected]>
    (cherry picked from commit cc194827a841f057654f1dbe4dcb3f6de98c1c60)
    
    Change-Id: Iec62a0e0fb830e8bfc76896733269d0511c5a8d9
    Reviewed-on: http://gerrit.openafs.org/11055
    Reviewed-by: Andrew Deason <[email protected]>
    Tested-by: BuildBot <[email protected]>
    Reviewed-by: Chas Williams - CONTRACTOR <[email protected]>
    Reviewed-by: Stephan Wiesand <[email protected]>

 src/kauth/knfs.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

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

Reply via email to