kvirc / KVIrc

The KVIrc IRC Client
http://www.kvirc.net/
GNU General Public License v2.0
232 stars 76 forks source link

Avoid possible infinite recursion; fix #2505 #2624

Closed ctrlaltca closed 3 months ago

ctrlaltca commented 3 months ago

This PR adds a third argument to the helper function kvi_hash_key_equal(KviCString, KviCString, bool). The function is only used internally by the template class KviPointerHashTable<Key, T> to compare elements using KviCString as the type for the Key. Currently nothing inside KVIrc is using a KviPointerHashTable<KviCString, T>. Still, better fix this.