Dovecot 2.3.6 on Solaris10: build issues, segfaults
Joseph Tam
jtam.home at gmail.com
Tue Jul 23 01:50:30 EEST 2019
On Mon, 22 Jul 2019, Timo Sirainen wrote:
> Ah, okay, I see. submission_max_mail_size should be defined as uoff_t
> instead of size_t in struct submission_settings and struct
> submission_settings.
Thanks!
This appears to be the correct diagnosis as this patch (for 2.3.7) got
rid of the segfaults
================================================================================
--- a/src/submission-login/submission-login-settings.h Mon Jul 22 14:37:26 2019
+++ b/src/submission-login/submission-login-settings.h Mon Jul 22 14:38:16 2019
@@ -7,3 +7,3 @@
/* submission: */
- size_t submission_max_mail_size;
+ uoff_t submission_max_mail_size;
const char *submission_backend_capabilities;
--- a/src/submission/submission-settings.h Mon Jul 22 14:37:17 2019
+++ b/src/submission/submission-settings.h Mon Jul 22 14:38:06 2019
@@ -22,3 +22,3 @@
/* submission: */
- size_t submission_max_mail_size;
+ uoff_t submission_max_mail_size;
unsigned int submission_max_recipients;
================================================================================
Joseph Tam <jtam.home at gmail.com>
More information about the dovecot
mailing list