1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-23 10:29:58 +01:00
Werner Koch c97198371b
dirmngr: Fix the cleanup zombies fix (685b782).
* dirmngr/ldap-wrapper.c (ldap_wrapper_thread): Do not close the
stdout reader after EOF from read_log_data.
* dirmngr/crlcache.c (crl_cache_reload_crl): Close the reader before
the next iteration.
--

I assumed that the log_fd also has a reader object but that reader
object is used for stdout and needs to be closed by the consumer.

The real bug with the non-released ldap_wrapper control objects was
that when looping over distribution points we did not closed the used
reader object before the next iteration.  Now, the test case had more
than one DP and thus we lost one reader object.

Signed-off-by: Werner Koch <wk@gnupg.org>
2015-06-18 13:34:48 +02:00
..
2010-12-14 19:17:58 +00:00
2010-07-23 16:16:14 +00:00
2014-03-07 19:00:31 +01:00
2010-06-09 16:53:51 +00:00
2015-03-23 19:58:27 +01:00
2010-06-09 16:53:51 +00:00
2011-02-04 12:57:53 +01:00
2015-03-23 19:58:26 +01:00
2010-06-09 16:53:51 +00:00