Re: [Dovecot] 1.2.15 - segfault if host field attribute not present in ldap. (proxy)

2010-12-06 Thread Mohit Chawla
On Mon, Dec 6, 2010 at 5:17 PM, Timo Sirainen wrote: > Does it really matter? > Will at least prevent a crash. :) Either way, I hope the request wasn't too offensive ?

Re: [Dovecot] 1.2.15 - segfault if host field attribute not present in ldap. (proxy)

2010-12-06 Thread Timo Sirainen
On 6.12.2010, at 9.29, Mohit Chawla wrote: > Sorry if this is not the right place to inquire but, is there a policy or > framework for including such patches by the Debian maintainers ? Or should > bug reports be submitted there separately as well ? Does it really matter? The possibilities are:

Re: [Dovecot] 1.2.15 - segfault if host field attribute not present in ldap. (proxy)

2010-12-06 Thread Mohit Chawla
Sorry if this is not the right place to inquire but, is there a policy or framework for including such patches by the Debian maintainers ? Or should bug reports be submitted there separately as well ?

Re: [Dovecot] 1.2.15 - segfault if host field attribute not present in ldap. (proxy)

2010-12-05 Thread Mohit Chawla
On Mon, Dec 6, 2010 at 11:35 AM, Timo Sirainen wrote: > Thanks, fixed: http://hg.dovecot.org/dovecot-1.2/rev/ebc5dc47eb59 > > (It was already fixed in v2.0.) > Awesome, thanks.

Re: [Dovecot] 1.2.15 - segfault if host field attribute not present in ldap. (proxy)

2010-12-05 Thread Timo Sirainen
On Mon, 2010-12-06 at 11:17 +0530, Mohit Chawla wrote: > > #1 0x0805e02e in net_addr2ip (addr=0x0, ip=0xbf93c3dc) at network.c:619 > No locals. > #2 0x0804f01a in login_proxy_is_ourself (client=0x93b5060, host=0x0, > port=143, > destuser=0x93b8c08 "resource") at login-proxy.c:322 Thanks, f

Re: [Dovecot] 1.2.15 - segfault if host field attribute not present in ldap. (proxy)

2010-12-05 Thread Mohit Chawla
Here's the full back trace: #0 0xb7434d23 in strchr () from /lib/i686/cmov/libc.so.6 No symbol table info available. #1 0x0805e02e in net_addr2ip (addr=0x0, ip=0xbf93c3dc) at network.c:619 No locals. #2 0x0804f01a in login_proxy_is_ourself (client=0x93b5060, host=0x0, port=143, destuser=0x9

Re: [Dovecot] 1.2.15 - segfault if host field attribute not present in ldap. (proxy)

2010-12-04 Thread Timo Sirainen
On 5.12.2010, at 5.41, Mohit Chawla wrote: > Apologies for not providing the info in the first place. Not that I have it > right now either, but will post from the workstation tomorrow, since this is > always reproducible. Also, have edited the wiki to try using =proxy_maybe=y > if it doesn't work

Re: [Dovecot] 1.2.15 - segfault if host field attribute not present in ldap. (proxy)

2010-12-04 Thread Mohit Chawla
On Sat, Dec 4, 2010 at 6:32 PM, Mohit Chawla wrote: > If more information's needed, let me know. > Apologies for not providing the info in the first place. Not that I have it right now either, but will post from the workstation tomorrow, since this is always reproducible. Also, have edited the wi

[Dovecot] 1.2.15 - segfault if host field attribute not present in ldap. (proxy)

2010-12-04 Thread Mohit Chawla
In case this is relevant: kernel: [17549.714369] imap-login[11704]: segfault at 0 ip b75c3d23 sp bf888178 error 4 in libc-2.11.2.so[b7551000+14] If no host field attribute is present in ldap (like mailHost for qmail-ldap), and we are trying to use proxy, then dovecot segfaults. If more infor