
bugtrack at dbmail
Oct 5, 2009, 7:44 AM
Post #2 of 4
(961 views)
Permalink
|
|
[DBMail 0000809]: dbmail-lmtpd crashes when subject too long
[In reply to]
|
|
The following issue has been set as DUPLICATE OF issue 0000796. ====================================================================== 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: new target: ====================================================================== Date Submitted: 05-Oct-09 12:47 CEST Last Modified: 05-Oct-09 16:44 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... ====================================================================== 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 ====================================================================== _______________________________________________ Dbmail-dev mailing list Dbmail-dev [at] dbmail http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail-dev
|