[ldns-users] pyldns patches

Willem Toorop willem at nlnetlabs.nl
Tue Aug 27 09:33:34 UTC 2013


Thanks Karel, Patches applied, committed *and* pushed :)
-- Willem

Op 26-08-13 16:12, Karel Slany schreef:
> Hello Wouter and Willem,
> 
> I've created another set of patches. This time it fixes issues which
> I've encountered in ldns_pkt class. There are two files in the attachment:
> 
> 0001) * Adds necessary cloning of member structures in several wrapper
> methods in order to prevent double free issues,
>       * adds new method ldns_pkt.new(),
>       * removes ldns_pkt.section_count() because the underlying C
> function is marked static and cannot be called,
>       * fixed memory leak when calling ldns_pkt.get_section_clone().
> 0002) Adds new file contrib/python/examples/test_pkt.py. This script is
> created mainly for testing purposes.
> 
> I've tested the changes in Python 2.7 and 3.2. The changes are related
> to broken code only so there should be no compatibility issues.
> 
> Best regards,
> K.
> 
> 
> 
> _______________________________________________
> ldns-users mailing list
> ldns-users at open.nlnetlabs.nl
> http://open.nlnetlabs.nl/mailman/listinfo/ldns-users
> 




More information about the ldns-users mailing list