about summary refs log tree commit diff
path: root/nss/tst-nss-db-endpwent.c
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@sourceware.org>2021-05-12 09:14:54 +0530
committerSiddhesh Poyarekar <siddhesh@sourceware.org>2021-05-12 15:53:33 +0530
commit900962f37f64c263db83ec8639847e8f6753b8d9 (patch)
treeea3a1af16b5d06e31233bd8f0f3cbcfca20ccfac /nss/tst-nss-db-endpwent.c
parent5188a9d0265cc6f7235a8af1d31ab02e4a24853d (diff)
downloadglibc-900962f37f64c263db83ec8639847e8f6753b8d9.tar.gz
glibc-900962f37f64c263db83ec8639847e8f6753b8d9.tar.xz
glibc-900962f37f64c263db83ec8639847e8f6753b8d9.zip
linux/check_native: Always close socket on return
The error paths of __check_native would leave the socket FD open on
return, resulting in an FD leak.  Rework function exit paths so that
the fd is always closed on return.
Diffstat (limited to 'nss/tst-nss-db-endpwent.c')
0 files changed, 0 insertions, 0 deletions