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

    audit: Fix overflow in file backend
    
    If the filename passed to open_file was larger than MAXPATHLEN-5,
    then we'd overflow the oldName buffer when creating the backup
    filename. Fix the overflow by using a malloc'd buffer instead.
    
    Caught by coverity (#985767)
    
    Reviewed-on: http://gerrit.openafs.org/9448
    Tested-by: BuildBot <[email protected]>
    Reviewed-by: Derrick Brashear <[email protected]>
    (cherry picked from commit b0b3def56c15161df28059e270f0360c31241217)
    
    Change-Id: I3993de8e4372c30d35e6e675042511f85ba9d014
    Reviewed-on: http://gerrit.openafs.org/11062
    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/audit/audit-file.c |   11 ++++++++---
 1 files changed, 8 insertions(+), 3 deletions(-)

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

Reply via email to