A NOTE has been added to this issue. 
====================================================================== 
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:                 fixed
Fixed in Version:           2.3.6
====================================================================== 
Date Submitted:             05-Oct-09 12:47 CEST
Last Modified:              05-Oct-09 21:30 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 

---------------------------------------------------------------------- 
 (0002930) paul (administrator) - 05-Oct-09 21:30
 http://www.dbmail.org/mantis/view.php?id=809#c2930 
---------------------------------------------------------------------- 
http://git.dbmail.eu/cgit/cgit.cgi/paul/dbmail/commit/?id=b3adc898f2086d43aecc2b49ff6b5dce801a1f66


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       
05-Oct-09 16:46  netvulture     Resolution               open => fixed       
05-Oct-09 16:46  netvulture     Fixed in Version          => 2.3.6           
05-Oct-09 21:30  paul           Note Added: 0002930                          
======================================================================

_______________________________________________
Dbmail-dev mailing list
[email protected]
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail-dev

Reply via email to