Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Sep 2016 15:02:18 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 213047] dns/powerdns: fix memory leak in gpgsql backend
Message-ID:  <bug-213047-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D213047

            Bug ID: 213047
           Summary: dns/powerdns: fix memory leak in gpgsql backend
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs@FreeBSD.org
          Reporter: mschout@gkg.net
                CC: tremere@cainites.net
                CC: tremere@cainites.net
             Flags: maintainer-feedback?(tremere@cainites.net)

Created attachment 175229
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D175229&action=
=3Dedit
patch

PowerDNS v4.0.x introduced a memory leak in the gpgsql backend.  Specifical=
ly
each dns query opens a transaction by calling PQexec("BEGIN") but the retur=
ned
PGresult pointer is never freed with PQclear().

See https://github.com/PowerDNS/pdns/pull/4459

We've been using this patch in production for several days and it does in f=
act
fix the memory leak.  This patch should be in 4.0.2, but in the meantime its
probably a good idea to patch the port.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-213047-13>