OpenAFS Master Repository branch, master, updated. openafs-devel-1_9_0-39-ga912a29

Gerrit Code Review gerrit@openafs.org
Thu, 5 Nov 2020 23:03:04 -0500


The following commit has been merged in the master branch:
commit a912a29a4568e20af8b354fc901c557d67aca1f7
Author: Benjamin Kaduk <kaduk@mit.edu>
Date:   Sat Sep 1 21:47:39 2018 -0500

    Detect realloc failure
    
    While reviewing other commits, a call to realloc() was discovered that
    would leak memory on failure (by virtue of always assigning the realloc()
    return value to the pointer holding the input address, even when the
    return value is NULL).  Check for failure and return early in that case
    (giving an incomplete list of events).
    
    Change-Id: Ic6e889f1d990bd289812ce4bf8e9cd4ebce488ec
    Reviewed-on: https://gerrit.openafs.org/13313
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>

 src/volser/volprocs.c |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

-- 
OpenAFS Master Repository