OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-3468-gc457b10

Gerrit Code Review gerrit@openafs.org
Sun, 24 Feb 2013 11:13:21 -0800 (PST)


The following commit has been merged in the master branch:
commit c457b106f14086bc1e0feab2eb8e27a3bcb87213
Author: Simon Wilkinson <sxw@your-file-system.com>
Date:   Tue Feb 19 17:15:42 2013 +0000

    fstrace: Avoid accessing icl log after zapping it
    
    The for loop in icl_EnumerateLogs looks up the next pointer in the
    current entry after zapping it. Depending on reference counts, this
    may result in us looking up freed memory.
    
    Take a copy of the next point before zapping the current entry, just
    in case.
    
    Caught by clang-analyzer
    
    Change-Id: If38f0af2b01c5b8ea00e68e4432c6ad5517578c8
    Reviewed-on: http://gerrit.openafs.org/9190
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
    Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>

 src/venus/fstrace.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

-- 
OpenAFS Master Repository