OpenAFS Master Repository branch, master, updated. openafs-devel-1_9_1-273-g4b42b07
Gerrit Code Review
gerrit@openafs.org
Sun, 2 Jul 2023 10:54:12 -0400
The following commit has been merged in the master branch:
commit 4b42b07fde2cb87ecb0f3135612a4c086227fa09
Author: Mark Vitale <mvitale@sinenomine.net>
Date: Fri May 12 23:51:48 2023 -0400
vol: Don't leak volume bitmaps
Since the original IBM code import, attach2 has set the volume's index
bitmaps to NULL in preparation for allocating and initalizing new
bitmaps. However, the volume may already have bitmaps from previous
operations, and this is much more likely with DAFS. In this case, the
old bitmaps are leaked.
Instead, free any existing bitmap before allocating a new one.
Discovered via Solaris libumem.so.1.
Change-Id: I77e42ccd36cedead060974a4fe99e37b4f262093
Reviewed-on: https://gerrit.openafs.org/15428
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Andrew Deason <adeason@sinenomine.net>
Reviewed-by: Cheyenne Wills <cwills@sinenomine.net>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
src/vol/volume.c | 2 ++
1 file changed, 2 insertions(+)
--
OpenAFS Master Repository