Displaying 4 results from an estimated 4 matches for "setting_copy".
2019 Jul 09
6
Dovecot 2.3.6 on Solaris10: build issues, segfaults
...configuring
"--disable-hardening" removes the "-fstack-protector-strong"
compiler option, which resolves this issue.
Issue 3) dovecot/doveconf segfaults on startup
It crashes here while processing dovecot.conf, as does "doveconf"
(settings-parser.c:1519 in setting_copy())
*dest_size = *src_size;
It appears *src_size is not an 8-byte address aligned (0x5597c).
It inherits this value from the calling routine as the sum of
"set" (8-byte aligned) + "def->offset"=20 => misaligned address.
(settings-parser.c:1597 in settings_dup_...
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 sizeo...
2019 Jul 10
0
Dovecot 2.3.6 on Solaris10: build issues, segfaults
On 9 Jul 2019, at 3.02, Joseph Tam via dovecot <dovecot at dovecot.org> wrote:
>
> Issue 3) dovecot/doveconf segfaults on startup
>
> It crashes here while processing dovecot.conf, as does "doveconf"
>
> (settings-parser.c:1519 in setting_copy())
> *dest_size = *src_size;
This is correct code.
> It appears *src_size is not an 8-byte address aligned (0x5597c).
> It inherits this value from the calling routine as the sum of
> "set" (8-byte aligned) + "def->offset"=20 => misaligned address.
>...
2019 Jul 22
0
Dovecot 2.3.6 on Solaris10: build issues, segfaults
..._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_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
&g...