summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--AUTHORS1
-rw-r--r--src/tls/s6tls_sync_and_exec_app.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/AUTHORS b/AUTHORS
index fa18529..5c0f4f3 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -15,3 +15,4 @@ Thanks to:
Paul Jarc <prj@case.edu>
Colin Booth <colin@heliocat.net>
Amitai Schleier <schmonz@schmonz.com>
+ Petr Vaněk <arkamar@atlas.cz>
diff --git a/src/tls/s6tls_sync_and_exec_app.c b/src/tls/s6tls_sync_and_exec_app.c
index 5c0180c..4126ad6 100644
--- a/src/tls/s6tls_sync_and_exec_app.c
+++ b/src/tls/s6tls_sync_and_exec_app.c
@@ -28,5 +28,6 @@ void s6tls_sync_and_exec_app (char const *const *argv, int const p[4][2], pid_t
_exit(wait_estatus(wstat)) ;
}
if (r >= MAXENVSIZE) strerr_dief1x(101, "SSL data too large; recompile with a bigger MAXENVSIZE") ;
+ close(p[2][0]) ;
s6tls_clean_and_exec(argv, options, buf, r-1) ;
}