[Dovecot] Japanese Search
Kazuo Moriwaka
moriwaka at valinux.co.jp
Mon Dec 20 12:39:48 EET 2004
Hello,
From: Kazuo Moriwaka <moriwaka at valinux.co.jp>
Subject: Re: [Dovecot] Japanese Search
Date: Mon, 20 Dec 2004 19:00:41 +0900 (JST)
> Hello,
>
> From: Kazuo Moriwaka <moriwaka at valinux.co.jp>
> Subject: Re: [Dovecot] Japanese Search
> Date: Mon, 20 Dec 2004 16:08:54 +0900 (JST)
>
> > But body of messages can't. I'll check it out.
>
> I found a missing of NULL value checking while this work.
> hdr_search_ctx can be NULL when key is not valid.
> I made a patch for it.
It looks like to need a patch for message-header-search.c.
Please check it.
thanks,
--
Kazuo Moriwaka
moriwaka at valinux.co.jp
-------------- next part --------------
Index: message-header-search.c
===================================================================
RCS file: /home/cvs/dovecot/src/lib-mail/message-header-search.c,v
retrieving revision 1.12
diff -c -r1.12 message-header-search.c
*** message-header-search.c 5 Jan 2003 13:09:52 -0000 1.12
--- message-header-search.c 20 Dec 2004 10:30:39 -0000
***************
*** 48,53 ****
--- 48,54 ----
if (key == NULL) {
/* invalid key */
+ p_free(ctx);
return NULL;
}
More information about the dovecot
mailing list