freeipa/util
Rob Crittenden 35f44a1aeb Dereference pointer when comparing password history in qsort compare.
The man page for qsort(3) says that the comparison function is called
with pointers to pointers to char but memcmp(3) wants a pointer to void
so we need to cast and dereference.

Without this the qsort() call wasn't properly sorting the elements so
a random password was being removed rather than the oldest when the
list overflowed.

https://fedorahosted.org/freeipa/ticket/2613
2012-04-10 18:33:04 +02:00
..
ipa_krb5.c Add missing copyright header 2011-11-17 16:15:24 -05:00
ipa_krb5.h ipa-kdb: implement change_pwd function 2011-08-26 08:24:49 -04:00
ipa_pwd.c Dereference pointer when comparing password history in qsort compare. 2012-04-10 18:33:04 +02:00
ipa_pwd.h ipa-kdb: add AS auditing support 2012-02-14 18:03:45 -05:00