The following commit has been merged in the openafs-stable-1_6_x branch:
commit 27515016cf92d0456b2a6e8a90758a02729f7407
Author: Benjamin Kaduk <[email protected]>
Date:   Sun Nov 6 23:29:22 2016 -0600

    afs: do not leak stale data in buffers
    
    Similar to the previous commit, zero out the buffer when fetching
    a new slot, to avoid the possibility of leaving stale data in
    a reused buffer.
    
    We are not supposed to write such stale data back to a fileserver,
    but this is an extra precaution in case of bugs elsewhere -- memset
    is not as expensive as it was in the 1980s.
    
    Reviewed-on: https://gerrit.openafs.org/12459
    Reviewed-by: Mark Vitale <[email protected]>
    Tested-by: Mark Vitale <[email protected]>
    Reviewed-by: Michael Meffie <[email protected]>
    Reviewed-by: Benjamin Kaduk <[email protected]>
    (cherry picked from commit a26c5054ee501ec65db3104f6a6a0fef634d9ea7)
    
    Change-Id: Id60559ed84581e2f6a50cd4313f64780b8a0bafd
    Reviewed-on: https://gerrit.openafs.org/12464
    Reviewed-by: Michael Meffie <[email protected]>
    Reviewed-by: Mark Vitale <[email protected]>
    Tested-by: Mark Vitale <[email protected]>
    Reviewed-by: Stephan Wiesand <[email protected]>

 src/afs/afs_buffer.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

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

Reply via email to