The following issue has been CLOSED ====================================================================== http://www.dbmail.org/mantis/view.php?id=809 ====================================================================== Reported By: flax Assigned To: ====================================================================== Project: DBMail Issue ID: 809 Category: LMTP daemon Reproducibility: always Severity: minor Priority: normal Status: closed target: Resolution: open Fixed in Version: ====================================================================== Date Submitted: 05-Oct-09 12:47 CEST Last Modified: 05-Oct-09 16:46 CEST ====================================================================== Summary: dbmail-lmtpd crashes when subject too long Description: In function "static gboolean _header_cache( key, header, user_data)" there is such creation of sortfield for subject: "if(issubject) { sortfield = dbmail_iconv_str_to_db(dm_base_subject(value), charset); }" without any limitation of length. And when subject is more than 255 characters length, inserting into db fails with: "value too long for type character varying(255)" and dbmail-lmtpd crashes.
====================================================================== Relationships ID Summary ---------------------------------------------------------------------- duplicate of 0000796 Long subject header causes insert probl... ====================================================================== ---------------------------------------------------------------------- (0002929) netvulture (developer) - 05-Oct-09 16:46 http://www.dbmail.org/mantis/view.php?id=809#c2929 ---------------------------------------------------------------------- Header value overload has been fixed in GIT HEAD. Will be in the next release 2.3.6 Issue History Date Modified Username Field Change ====================================================================== 05-Oct-09 12:47 flax New Issue 05-Oct-09 16:44 netvulture Relationship added duplicate of 0000796 05-Oct-09 16:46 netvulture Note Added: 0002929 05-Oct-09 16:46 netvulture Status new => closed ====================================================================== _______________________________________________ Dbmail-dev mailing list [email protected] http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail-dev
