The p_exec_query function in src/dns_query.c in pdnsd before 1.2.7-par allows remote attackers to cause a denial of service (daemon crash) via a long DNS reply with many entries in the answer section, related to a "dangling pointer bug."
https://exchange.xforce.ibmcloud.com/vulnerabilities/45594
http://www.vupen.com/english/advisories/2008/2582