Crash on DNS lookup with Unbound in OpenDKIM

David Bürgin dbuergin at
Sun Dec 29 09:40:01 UTC 2019


I’m debugging a crash in OpenDKIM that occurs during DNS lookup with
libunbound. It is difficult to pinpoint because I’m unable to obtain the
backtrace after the crash. Here’s the reproduction:

Regarding libunbound I’ve narrowed it down to this: the crash happens
when configuring libunbound with a config file (`ub_ctx_config`) that
contains only the following:

        auto-trust-anchor-file: "/var/lib/unbound/root.key"

When leaving out the auto-trust-anchor-file setting the crash does not
happen. Note that this setting and the file /var/lib/unbound/root.key
are defaults provided by the unbound package in Debian.

I know it is asking much, but I have no knowledge of libunbound and I
suspect there is a mistake in the client code in OpenDKIM, so if you
could give me a hint in which direction I should investigate further I’d
be very grateful. The Unbound client code in OpenDKIM can be found at:

Thank you!


More information about the Unbound-users mailing list