The following issue has been SUBMITTED. 
====================================================================== 
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 12:47 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.


====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
05-Oct-09 12:47  flax           New Issue                                    
======================================================================

_______________________________________________
Dbmail-dev mailing list
Dbmail-dev@dbmail.org
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail-dev

Reply via email to