OpenAFS Master Repository branch, master, updated. openafs-devel-1_9_1-51-ga5c1461
Gerrit Code Review
Sat, 3 Jul 2021 11:37:47 -0400
The following commit has been merged in the master branch:
Author: Michael Meffie <firstname.lastname@example.org>
Date: Thu Jul 1 20:14:12 2021 -0400
libadmin: Be sure to free the server list in ListCellsRPC
Commit 0d6b9defb36cb94f3d34b058f00055e9e99d85fc added a check to avoid
overrunning a buffer when the cell name returned by RXAFSCB_GetCellServDB
is too large for the libadmin buffer, but in that case missed freeing
the server list returned in the same rpc.
Move the xdr_free() of the server list under the cleanup label so the
server list returned by the RPC will always be freed.
Thanks to Mark Vitale for finding this bug.
Tested-by: BuildBot <email@example.com>
Reviewed-by: Mark Vitale <firstname.lastname@example.org>
Reviewed-by: Benjamin Kaduk <email@example.com>
src/libadmin/adminutil/afs_utilAdmin.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
OpenAFS Master Repository