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

    volser: 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/9352
    Reviewed-by: Derrick Brashear <[email protected]>
    Tested-by: BuildBot <[email protected]>
    Reviewed-by: Jeffrey Altman <[email protected]>
    (cherry picked from commit 4f9ec8396d1c7f12f8fa264cea7c255ce62b7b8d)
    
    Change-Id: I7e2dfcaf23312dde123515e2c7329df1fa62de3e
    Reviewed-on: http://gerrit.openafs.org/11038
    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/volser/vsprocs.c |   13 +++++++++++--
 1 files changed, 11 insertions(+), 2 deletions(-)

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

Reply via email to