The following issue has been RESOLVED. ====================================================================== http://dbmail.org/mantis/view.php?id=866 ====================================================================== Reported By: psv Assigned To: paul ====================================================================== Project: DBMail Issue ID: 866 Category: General Reproducibility: always Severity: trivial Priority: normal Status: resolved target: Resolution: fixed Fixed in Version: 2.2.18 ====================================================================== Date Submitted: 01-Dec-10 12:12 CET Last Modified: 07-Dec-10 15:17 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. ====================================================================== ---------------------------------------------------------------------- (0003128) paul (administrator) - 07-Dec-10 15:17 http://dbmail.org/mantis/view.php?id=866#c3128 ---------------------------------------------------------------------- fix committed and pushed. thanks. Issue History Date Modified Username Field Change ====================================================================== 01-Dec-10 12:12 psv New Issue 07-Dec-10 15:17 paul Note Added: 0003128 07-Dec-10 15:17 paul Assigned To => paul 07-Dec-10 15:17 paul Status new => resolved 07-Dec-10 15:17 paul Resolution open => fixed 07-Dec-10 15:17 paul Fixed in Version => 2.2.18 ====================================================================== _______________________________________________ Dbmail-dev mailing list Dbmail-dev@dbmail.org http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail-dev