Hello, I upgraded my courier installation from an 0.5 version to the up to date version.
After upgrading I had problems logging in using authlib with module authmysql, however it is imho no problem of the mysql module. authlib connected to the mySQL-Server correctly, got the data and then hung, consuming 100% of CPU time. Imho there is a endless loop in checkpassword.c (in authlib). Please check my diff file! Regards, Roger. *** checkpassword.c_orig 2014-07-05 02:20:34.724457072 +0200 --- checkpassword.c 2014-07-05 02:21:17.770077223 +0200 *************** *** 29,37 **** static int safe_strcmp(const char *a, const char *nullable_b) { if (!nullable_b) return -1; ! return safe_strcmp(a, nullable_b); } static int do_authcheckpassword(const char *password, const char *encrypted_password) { --- 29,37 ---- static int safe_strcmp(const char *a, const char *nullable_b) { if (!nullable_b) return -1; ! return strcmp(a, nullable_b); } static int do_authcheckpassword(const char *password, const char *encrypted_password) { ------------------------------------------------------------------------------ Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft _______________________________________________ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users