[ldns-users] Segfault bug in ldns 1.6.17
yuri at nlnetlabs.nl
Fri Jun 13 14:58:01 UTC 2014
-----BEGIN PGP SIGNED MESSAGE-----
I just noticed Willem already plugged that hole last January in commit
2853eb352b4461e98f2926ace4ea3810cedf4167 . So it will be part of
the next release.
On 13-06-14 13:58, Yuri Schaeffer wrote:
> Hi Calle,
>> Changing it so that ldns_pkt_free() is only called if stat is
>> LDNS_STATUS_OK seems to fix the problem. At least my code
>> doesn't segfault any more if I do that.
> Thank you for your bug report. I've seen your suggested patch and
> you are on the right track but I think it is not entirely correct.
> and the real bug is 18 or so lines higher. Where the answer_pkt is
> freed but not set to null.
> Attached diff.
> Regards, Yuri
> _______________________________________________ ldns-users mailing
> list ldns-users at open.nlnetlabs.nl
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Using GnuPG with Icedove - http://www.enigmail.net/
-----END PGP SIGNATURE-----
More information about the ldns-users