The following issue has been SUBMITTED. ====================================================================== http://www.dbmail.org/mantis/view.php?id=866 ====================================================================== Reported By: psv Assigned To: ====================================================================== Project: DBMail Issue ID: 866 Category: General Reproducibility: always Severity: trivial Priority: normal Status: new target: ====================================================================== Date Submitted: 01-Dec-10 12:12 CET Last Modified: 01-Dec-10 12:12 CET ====================================================================== Summary: Crash in auth. module search in case when library is missed. Description: In authmodule.c array lib_path contains only two items but we trying to iterate over three items which in case of missed library leads to crash without any diagnosable message. The issue however is minor.
/* Try local build area, then dbmail lib paths, then system lib path. */ int i; char *lib_path[] = { library_dir, NULL }; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /* Note that the limit here *includes* the NULL. This is intentional, * to allow g_module_build_path to try the current working directory. */ for (i = 0; i < 3; i++) { ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lib = g_module_build_path(lib_path[i], driver); module = g_module_open(lib, 0); // non-lazy bind. ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 01-Dec-10 12:12 psv New Issue ====================================================================== _______________________________________________ Dbmail-dev mailing list Dbmail-dev@dbmail.org http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail-dev