OpenAFS Master Repository branch, openafs-stable-1_4_x, updated. openafs-stable-1_4_12-107-gd3e2b09

Gerrit Code Review gerrit@openafs.org
Wed, 16 Mar 2011 07:35:49 -0700 (PDT)


The following commit has been merged in the openafs-stable-1_4_x branch:
commit d3e2b09a00edb265b5486e617cd6500cdbae4178
Author: Andrew Deason <adeason@sinenomine.net>
Date:   Thu Mar 10 14:55:50 2011 -0600

    salvager: Do not abort on large volume IDs
    
    The salvager was parsing volume IDs just using atoi() and checking if
    the result was negative. Since the result is a signed int, this fails
    on any volume ID larger than 2^31-1. Change the parser to use strtoul
    instead of atoi, and change the check.
    
    Reviewed-on: http://gerrit.openafs.org/4196
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Derrick Brashear <shadow@dementia.org>
    (cherry picked from commit 0884e9d0fddf2be81abf6468209048331efa8a1e)
    
    Change-Id: If9cb63aaf6530ea7558e6036bce250328573e2e5
    Reviewed-on: http://gerrit.openafs.org/4209
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Derrick Brashear <shadow@dementia.org>

 src/vol/vol-salvage.c |   14 ++++++++------
 1 files changed, 8 insertions(+), 6 deletions(-)

-- 
OpenAFS Master Repository