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

    afsmonitor: Fix theoretical overflow of handler string
    
    Don't do an unbounded copy into the thresh structure's handler
    string, in case the caller has passed us a string which is too
    long.
    
    Instead, switch to strlcpy for all string copies.
    
    Caught by coverity (#985761)
    
    Reviewed-on: http://gerrit.openafs.org/9443
    Tested-by: BuildBot <[email protected]>
    Reviewed-by: Jeffrey Altman <[email protected]>
    (cherry picked from commit 95cd5b1d950ecb820179e4279b8570d8ad6780f5)
    
    Change-Id: Id8d7f3b97ac3ccbf65862d61b2f9e9d39baeb162
    Reviewed-on: http://gerrit.openafs.org/11057
    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/afsmonitor/afsmonitor.c |   17 ++++++++++-------
 1 files changed, 10 insertions(+), 7 deletions(-)

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

Reply via email to