Displaying 2 results from an estimated 2 matches for "dereferened".
Did you mean:
dereferenced
2019 Jul 20
2
Dovecot 2.3.6 on Solaris10: build issues, segfaults
..._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 in the segfault when *src_size is dereferened. The implied
condition of this code segment is typeof(uoff_t)==typeof(size_t) which
is clearly not the case.
I'm not sure how/if uoff_t is defined, but configure reports
checking for uoff_t... no
checking type of off_t... long long
The latter is weird, because if I compile and run using...
2019 Jul 22
0
Dovecot 2.3.6 on Solaris10: build issues, segfaults
...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 in the segfault when *src_size is dereferened. The implied
> condition of this code segment is typeof(uoff_t)==typeof(size_t) which
> is clearly not the case.
>
> I'm not sure how/if uoff_t is defined, but configure reports
>
> checking for uoff_t... no
> checking type of off_t... long long
>
> The latter i...