The following commit has been merged in the openafs-stable-1_8_x branch:
commit 37187ba29454cba5a79eebff6251d6ff145907cf
Author: Andrew Deason <[email protected]>
Date: Mon May 18 12:09:38 2020 -0500
auth: Close fd on SetExtendedCellInfo write error
Currently, and since OpenAFS 1.0, if write() fails here, we leak the
file descriptor. A write() failure should be very unlikely, but close
the fd to make sure we avoid the leak.
Reviewed-on: https://gerrit.openafs.org/14213
Tested-by: BuildBot <[email protected]>
Reviewed-by: Benjamin Kaduk <[email protected]>
(cherry picked from commit c81579dc7b0c0ac6bc34f63384d705a4445c2bbd)
Change-Id: I4dd96cca2fd9c01390fb508ab12d507ab1a56c8b
Reviewed-on: https://gerrit.openafs.org/14461
Reviewed-by: Benjamin Kaduk <[email protected]>
Reviewed-by: Michael Meffie <[email protected]>
Reviewed-by: Cheyenne Wills <[email protected]>
Tested-by: BuildBot <[email protected]>
Reviewed-by: Stephan Wiesand <[email protected]>
src/auth/writeconfig.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
--
OpenAFS Master Repository
_______________________________________________
OpenAFS-cvs mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-cvs