Re: [PATCH 1/2] s6dns_resolve_parse: always clean up dt, prevent fd leaking

From: Laurent Bercot <ska-skaware_at_skarnet.org>
Date: Thu, 11 Jun 2015 19:16:46 +0200

On 11/06/2015 16:06, Roman I Khimov wrote:
> It was noted that with no servers in resolv.conf s6-dns always leaks an fd
> after s6dns_resolve_parse_g() usage. I wasn't able to trace it deeper, but
> always cleaning up in s6dns_resolve_parse() won't hurt.

  Thanks for the report!
  However, this isn't the correct fix. I have committed the correct one in the
latest git head. (s6dns_resolve_core is supposed to recycle dt itself if it
fails.)
  I also have applied your second patch, thanks :)
  New release coming soon.

-- 
  Laurent
Received on Thu Jun 11 2015 - 17:16:46 UTC

This archive was generated by hypermail 2.3.0 : Sun May 09 2021 - 19:38:49 UTC