[ldns-users] case sensitive (should be case insensitive) dname comparison in ldns_pkt_rr_list_by_name and ldns_pkt_rr_list_by_name_and_type
Willem Toorop
willem at nlnetlabs.nl
Tue Nov 19 11:31:35 UTC 2013
Hi Johannes,
I investigated our repository a bit.
The lines doing the comparison with ldns_rdf_compare in
ldns_pkt_rr_list_by_name and ldns_pkt_rr_list_by_name_and_type are still
the same as when those functions were introduced (by Miek) over 8 years
ago. (Commit 2960f99469c6cca4df5c1c2e72af963eb27f7ede)
ldns_dname_compare did not yet exist during that commit, although it was
introduced (by Jelte) shortly afterwards. (Commit
04491ac4bb1ab2c0c94d0e8eeb88c80df187ad4c).
So,
op 13-11-13 20:21, Johannes Naab schreef:
> Is the current behavior (case sensitive comparison) of
> ldns_pkt_rr_list_by_name intended?
No, it just evolved like this. I have fixed the issue. The fix will be
in the 1.7.0 release which will follow shortly.
Thanks for noticing!
-- Willem
More information about the ldns-users
mailing list