search for: submission_settings

Displaying 4 results from an estimated 4 matches for "submission_settings".

2019 Jul 20
2
Dovecot 2.3.6 on Solaris10: build issues, segfaults
Looking further into this segfault at settings-parser.c:setting_copy():1519 *dest_size = *src_size; *src_size points to type size_t (typedef unsigned long), a 4-byte aligned value consistent with a 32-bit build. This is mismatched with declared type (gdb) whatis src_size type = const uoff_t * (gdb) whatis uoff_t type = unsigned long long (gdb) p sizeof(uoff_t) $1 = 8 resulting
2019 Jul 10
0
Dovecot 2.3.6 on Solaris10: build issues, segfaults
...ause it didn't do it correctly. I guess you're compiling this as 32bit? Is size_t 32bit or 64bit? Can you try with the below small test program if it prints the same 20? #include <stdio.h> #include <stdbool.h> #include <stddef.h> #define in_port_t unsigned short struct submission_settings { bool verbose_proctitle; const char *rawlog_dir; const char *hostname; const char *login_greeting; const char *login_trusted_networks; /* submission: */ size_t submission_max_mail_size; unsigned int submission_max_recipients; const char *submission_client_workarounds; const char *subm...
2019 Jul 22
0
Dovecot 2.3.6 on Solaris10: build issues, segfaults
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. > On 20 Jul 2019, at 1.47, Joseph Tam via dovecot <dovecot at dovecot.org> wrote: > > > Looking further into this segfault at > > settings-parser.c:setting_copy():1519 > *dest_size = *src_size; > > *src_size points to type size...
2019 Jul 09
6
Dovecot 2.3.6 on Solaris10: build issues, segfaults
Hopefully, there is some fix for issue 3 which is beyond my skill to fix. Issue 1) Need recent gcc version Building Dovecot versions <=2.2.x using gcc 3.4.4 worked, but this gcc version fails to build 2.3.x properly: symptoms include compile failures and executable crashes that depended on the amount of optimization used, which is usually a sign of compiler bugs. (It could also be