OpenAFS Master Repository branch, openafs-stable-1_8_x, updated. openafs-stable-1_8_2-27-g97f8306

Gerrit Code Review
Fri, 25 Jan 2019 09:38:52 -0500

The following commit has been merged in the openafs-stable-1_8_x branch:
commit 97f830605d5f251c58382c3f9febc4d98e949ee8
Author: Andrew Deason <>
Date:   Mon Jan 14 17:12:27 2019 -0600

    lwp: Avoid freeing 'stackmemory' on AIX32
    Commit 55013a11 (lwp: Fix possible memory leak from scan-build) added
    some free() calls to some otherwise-leaked memory. However, one of
    these calls frees the 'stackmemory' pointer, which on AIX32 is not a
    pointer from malloc/calloc, but calculated from reserveFromStack().
    To avoid corrupting the heap, skip this free call on AIX32. This
    commit adds another #ifdef to avoid this, which is unfortunate, but
    this is also how the free is avoided in the existing code for
    Tested-by: BuildBot <>
    Reviewed-by: Michael Meffie <>
    Reviewed-by: Benjamin Kaduk <>
    (cherry picked from commit f6182922455aa0cbee19d138b0827eb87dc2b7ce)
    Change-Id: Id32eea373799c0cb43fb01a98210a0800899a1d6
    Tested-by: BuildBot <>
    Reviewed-by: Michael Meffie <>
    Reviewed-by: Stephan Wiesand <>

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

OpenAFS Master Repository