OpenAFS Master Repository branch, master, updated. openafs-devel-1_9_0-91-g750628d

Gerrit Code Review
Wed, 13 Jan 2021 17:40:59 -0500

The following commit has been merged in the master branch:
commit 750628da77bb71e24ed3061431bbb913ff8d5f72
Author: Mark Vitale <>
Date:   Thu Aug 20 16:09:02 2020 -0400

    vol: prevent salvage segfault for orphaned vnode with out-of-range parent
    While salvaging a RW volume, salvager may segfault if it encounters an
    orphaned directory with a parent vnode that does not exist.  For
    example, if the large vnode index contains a maximum vnode of 2901, any
    parent vnode encountered that is larger than 2901 will result in an
    out-of-bounds reference to our vnode essence array, leading to a
    segfault or undefined behavior.
    Modify the logic to check for out-of-bounds parent vnodes, and log them
    rather than segfaulting.
    Change-Id: I49f53935830fbb428fe0bff04c33248d3806a4b2
    Tested-by: BuildBot <>
    Reviewed-by: Andrew Deason <>
    Reviewed-by: Benjamin Kaduk <>

 src/vol/vol-salvage.c |   13 ++++++++++---
 1 files changed, 10 insertions(+), 3 deletions(-)

OpenAFS Master Repository