[ldns-users] Patch for ldns-keyfetcher

Jan-Piet Mens jpmens.dns at gmail.com
Tue Aug 25 14:58:34 UTC 2015


Hello,

There's a very nasty bug in ldns-keyfetcher which prevents things like

        ldns-keyfetcher ... | wc -l

from working properly. I discovered this very nasty bug ages ago, but
only recently was I able to finally get around to producing this (cough)
Jumbo Patch for it. It's been running in production for several hours
now without any visible negative impact.

As I'm not quite sure whether this list supports huge attachments, I'm
adding the patch inline: please excuse the wasted bandwidth.

Best regards ;-)

        -JP

--- ldns-1.6.17/examples/ldns-keyfetcher.c.orig 2015-08-25 14:11:06.000000000 +0200
+++ ldns-1.6.17/examples/ldns-keyfetcher.c      2015-08-25 14:18:24.000000000 +0200
@@ -725,7 +725,6 @@
                fprintf(stderr, "no answer packet received, stub resolver config:\n");
                ldns_resolver_print(stderr, res);
        }
-       printf("\n");

        ldns_rdf_deep_free(domain);
        ldns_resolver_deep_free(res);



More information about the ldns-users mailing list