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

    libadmin: Don't overflow volume name
    
    The maximum volume name length in the VLDB RPCs is VL_MAXNAMELEN
    (65), not 64 as used as a hardcoded value in vsprocs. Switch to
    using the defined value, and also use strlcat to check that we
    don't overflow this.
    
    Caught by coverity (#985849)
    
    Reviewed-on: http://gerrit.openafs.org/9353
    Reviewed-by: Derrick Brashear <[email protected]>
    Tested-by: BuildBot <[email protected]>
    Reviewed-by: Jeffrey Altman <[email protected]>
    (cherry picked from commit 79abe9d68ea041a2ea6261c6f7bb1f055a45bf0a)
    
    Change-Id: I0e1dd46be835e74fc43335606bf5ab8341678251
    Reviewed-on: http://gerrit.openafs.org/11040
    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/libadmin/vos/vsprocs.c |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)

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

Reply via email to