Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: DBMail: dev

[DBMail 0000809]: dbmail-lmtpd crashes when subject too long

 

 

DBMail dev RSS feed   Index | Next | Previous | View Threaded


bugtrack at dbmail

Oct 5, 2009, 3:47 AM

Post #1 of 4 (1045 views)
Permalink
[DBMail 0000809]: dbmail-lmtpd crashes when subject too long

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 [at] dbmail
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail-dev


bugtrack at dbmail

Oct 5, 2009, 7:44 AM

Post #2 of 4 (959 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


bugtrack at dbmail

Oct 5, 2009, 7:46 AM

Post #3 of 4 (960 views)
Permalink
[DBMail 0000809]: dbmail-lmtpd crashes when subject too long [In reply to]

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
Dbmail-dev [at] dbmail
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail-dev


bugtrack at dbmail

Oct 5, 2009, 12:30 PM

Post #4 of 4 (962 views)
Permalink
[DBMail 0000809]: dbmail-lmtpd crashes when subject too long [In reply to]

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
Dbmail-dev [at] dbmail
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail-dev

DBMail dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.