Displaying 2 results from an estimated 2 matches for "doveadm_mail_cmd_init".
2018 Dec 07
2
Segfault when using doveadm batch -A : kick
Hi,
Apparently the "kick" doveadm_cmd_ver2 struct lacks a .mail_cmd member
pointing to an appropriate allocation function, causing a NULL pointer
dereference when used via `doveadm batch`.
(gdb) bt
#0 0x0000000000000000 in ?? ()
#1 0x0000555555585882 in doveadm_mail_cmd_init (cmd=cmd at entry=0x7fffffffe680, set=0x5555555f2440) at doveadm-mail.c:596
#2 0x0000555555586f68 in cmd_batch_add (argv=<optimized out>, argc=<optimized out>, batchctx=0x555555606538) at doveadm-mail-batch.c:78
#3 cmd_batch_preinit () at doveadm-mail-batch.c:126
#4 0x00005555555854c...
2018 Dec 07
0
Segfault when using doveadm batch -A : kick
...> Apparently the "kick" doveadm_cmd_ver2 struct lacks a .mail_cmd member
> pointing to an appropriate allocation function, causing a NULL pointer
> dereference when used via `doveadm batch`.
>
> (gdb) bt
> #0 0x0000000000000000 in ?? ()
> #1 0x0000555555585882 in doveadm_mail_cmd_init (cmd=cmd at entry=0x7fffffffe680, set=0x5555555f2440) at doveadm-mail.c:596
> #2 0x0000555555586f68 in cmd_batch_add (argv=<optimized out>, argc=<optimized out>, batchctx=0x555555606538) at doveadm-mail-batch.c:78
> #3 cmd_batch_preinit () at doveadm-mail-batch.c:126
> #4 0x...