From ecea94461ed40f3f6ef662c2501e1d56ec284022 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Tue, 15 Apr 2014 16:40:48 +0200 Subject: [PATCH] estream: Fix deadlock in es_fileno. * src/estream.c (es_fileno_unlocked): Call the unlocked functions. --- common/estream.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/estream.c b/common/estream.c index 33195b739..a20d6d4e3 100644 --- a/common/estream.c +++ b/common/estream.c @@ -3300,7 +3300,7 @@ es_fileno_unlocked (estream_t stream) { es_syshd_t syshd; - if (es_syshd (stream, &syshd)) + if (es_syshd_unlocked (stream, &syshd)) return -1; switch (syshd.type) {