[Heimdal-source-changes] [heimdal/heimdal] cd10e3: lib/ipc: client double close of socket file descri...
Jeffrey Altman
noreply at github.com
Tis Okt 29 22:25:29 CET 2019
Branch: refs/heads/heimdal-7-1-branch
Home: https://github.com/heimdal/heimdal
Commit: cd10e32900a043f0854b2c8c00620697a5b1dec3
https://github.com/heimdal/heimdal/commit/cd10e32900a043f0854b2c8c00620697a5b1dec3
Author: Jeffrey Altman <jaltman at secure-endpoints.com>
Date: 2019-10-29 (Tue, 29 Oct 2019)
Changed paths:
M lib/ipc/client.c
Log Message:
-----------
lib/ipc: client double close of socket file descriptor #431
When connect() fails in connect_unix() the path_ctx.fd is not
set to -1 after close(). When common_release() is executed due
to the error return from connect_unix() it calls close() a second
time.
There is no need to call close() from connect_unix(). Remove the
duplicate request.
This issue was reported by YASUOKA Masahiko.
Change-Id: I825e274cc7f12e50a8779a2b62ddb756817cdb52
More information about the Heimdal-source-changes
mailing list