Displaying 3 results from an estimated 3 matches for "parent_def".
Did you mean:
parent_dev
2011 Mar 25
2
Regression in settings-parser.c (dovecot 2.0.11)
Hi,
one Fedora user sees regression in dovecot 2.0.11 (compared to prev. 2.0.9). There was change recently:
http://hg.dovecot.org/dovecot-2.0/diff/bc77e80947c0/src/lib-settings/settings-parser.c
which adds call to settings_find_key_nth(...., &parent_def,...). This function can set parent_def to NULL, but
there is no check for this situation in the code. So on next line if (parent_def->type !=... dovecot crashes.
We've tested simple fix: if (parent_def==NULL) return FALSE; and everything was working again.
Michal
Backtrace of the crash:
Pr...
2011 Apr 27
2
2.0.12 Coredump under Solaris 10
...===
(gdb) bt full
#0 0xfeb559f8 in strcmp () from /lib/libc.so.1
No symbol table info available.
#1 0xfee73e7a in settings_find_key_nth (ctx=0x809bec0, key=0x807ab38
"plugin//imap", n=0x80477f0, def_r=0x80477f4, link_r=0x80477f8)
at settings-parser.c:699
parent_n = 1
parent_def = (const struct setting_define *) 0x0
parent_link = (struct setting_link *) 0x809bf40
def = (const struct setting_define *) 0x7ffffffb
link = (struct setting_link *) 0x807ab48
parent_key = 0x807ab48 "plugin/"
i = 134720328
__FUNCTION__ = &qu...
2011 Apr 27
2
2.0.12 Coredump under Solaris 10
hi,
I've installed a testversion from 2.0.12 and getting coredumps after
login via IMAP/POP3. I don't know, if it is a simple config error or
something else.
======
dovecot: [ID 583609 local7.error] master: Error: service(imap): child
29333 killed with signal 11 (core dumped)
[ID 583609 local7.error] master: Error: service(imap): child 29335
killed with signal 11 (core dumped)
======