[Bug 213047] dns/powerdns: fix memory leak in gpgsql backend
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Sep 28 15:02:19 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213047
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 at FreeBSD.org
Reporter: mschout at gkg.net
CC: tremere at cainites.net
CC: tremere at cainites.net
Flags: maintainer-feedback?(tremere at cainites.net)
Created attachment 175229
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=175229&action=edit
patch
PowerDNS v4.0.x introduced a memory leak in the gpgsql backend. Specifically
each dns query opens a transaction by calling PQexec("BEGIN") but the returned
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 fact
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.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list