OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-3410-g429b9ec

Gerrit Code Review gerrit@openafs.org
Thu, 21 Feb 2013 05:17:10 -0800 (PST)


The following commit has been merged in the master branch:
commit 429b9ec350670a9d51948fff3e555371a45f7905
Author: Simon Wilkinson <sxw@your-file-system.com>
Date:   Fri Feb 15 16:23:16 2013 +0000

    aklog: Don't reference freed node whilst deleting
    
    Because deletion is implemented using a for loop, the step of the
    loop that moves us to the next node references freed memory when
    we've deleted an element. Fix this by just shortcircuiting the
    return from the function so we immediately exit.
    
    Change-Id: Ia820b20ce5937ac86d849cb746b3bc21f46550fa
    Reviewed-on: http://gerrit.openafs.org/9161
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Chas Williams - CONTRACTOR <chas@cmf.nrl.navy.mil>
    Reviewed-by: Derrick Brashear <shadow@your-file-system.com>

 src/aklog/linked_list.c |   39 ++++++++++++++++-----------------------
 1 files changed, 16 insertions(+), 23 deletions(-)

-- 
OpenAFS Master Repository