[ldns-users] Segfault bug in ldns 1.6.17

Calle Dybedahl calle at init.se
Fri Jun 13 09:07:24 UTC 2014


Here's some C code that, at least right now, makes ldns segfault when
trying to free memory that was never allocated. The server in question does
send back data that is in some way malformed, so in some way I guess ldns
is insufficiently paranoid.

I'm trying to look into the problem, but since I'm neither a very good C
programmer nor very familiar with the ldns internals I'm not proceeding
very quickly. So I'm hoping someone else will go "Oh, right, that's the
problem" and fix it right away :-)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nlnetlabs.nl/pipermail/ldns-users/attachments/20140613/647535ea/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bug.c
Type: text/x-csrc
Size: 638 bytes
Desc: not available
URL: <http://lists.nlnetlabs.nl/pipermail/ldns-users/attachments/20140613/647535ea/attachment.bin>

More information about the ldns-users mailing list