The following commit has been merged in the openafs-stable-1_6_x branch:
commit a68deb7fc5719b2399e3e1d063f9681f6aa4bf31
Author: Simon Wilkinson <[email protected]>
Date:   Sat Mar 2 12:04:46 2013 +0000

    aklog: Fix overflows in auth_to_path
    
    In the auth_to_path routine, don't use strcpy and strcat when
    working with the fixed length pathtocheck buffer. Instead, use
    strlcpy and strlcat to ensure that all string operations fit within
    the buffer limits.
    
    Caught by coverity (#985762)
    
    Reviewed-on: http://gerrit.openafs.org/9444
    Reviewed-by: Derrick Brashear <[email protected]>
    Tested-by: BuildBot <[email protected]>
    Reviewed-by: Jeffrey Altman <[email protected]>
    (cherry picked from commit 788a6b67a088e2565c3b47ecb6e594a7b15f2757)
    
    Change-Id: I9abb8ab33da1d72e42764969e5527d443eea9652
    Reviewed-on: http://gerrit.openafs.org/11058
    Tested-by: BuildBot <[email protected]>
    Reviewed-by: Chas Williams - CONTRACTOR <[email protected]>
    Reviewed-by: Andrew Deason <[email protected]>
    Reviewed-by: Stephan Wiesand <[email protected]>

 src/aklog/aklog.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