]> git.ipfire.org Git - thirdparty/bind9.git/commit
Fix case insensitive matching in isc_ht hash table implementation
authorOndřej Surý <ondrej@isc.org>
Sat, 10 Feb 2024 23:49:32 +0000 (00:49 +0100)
committerMichał Kępień <michal@isc.org>
Sun, 11 Feb 2024 10:57:58 +0000 (11:57 +0100)
commitf493a8394102b0aeb101d5dc2f963004c8741175
treedb5298bce31366cc0973e6fa72bc917b2ae0f8d1
parent90dc9a326dfaf3ef17e401753832ce33cf99fd01
Fix case insensitive matching in isc_ht hash table implementation

The case insensitive matching in isc_ht was basically completely broken
as only the hashvalue computation was case insensitive, but the key
comparison was always case sensitive.

(cherry picked from commit 175655b771fd17b06dfb8cfb29eaadf0f3b6a8b5)
lib/isc/ht.c
lib/isc/tests/ht_test.c