Re: v2.2.26 release candidate released

2016-10-21 Thread Pierre Jaury
Hi, Do you plan on inclinding the following patch in the final release? http://www.dovecot.org/list/dovecot/2016-October/105734.html I have some tests in place and can backport the patch if necessary. Regards, On 10/19/2016 11:01 PM, Timo Sirainen wrote: > http://dovecot.org/releases/2.2/rc/d

Re: Dict proxy client returning empty string instead of multiline string

2016-10-18 Thread Pierre Jaury
Hello, I can confirm the issue is fixed. Do you have a policy to backport the patch at least to the latest stable? Regards, On 10/17/2016 11:45 PM, Aki Tuomi wrote: >>>>>>>>> On 10/16/2016 11:16 PM, Pierre Jaury wrote: >>>>>>>>>> Hello, &

Re: Dict proxy client returning empty string instead of multiline string

2016-10-17 Thread Pierre Jaury
value, it should, instead, duplicate the value to some memory region. Can you > see if this following patch fixes it? > > Aki > >> On October 17, 2016 at 4:14 PM Pierre Jaury wrote: >> >> >> Okay, it seems to me that the bug is due to "t_str_tabunescape&q

Re: Dict proxy client returning empty string instead of multiline string

2016-10-17 Thread Pierre Jaury
str)); Hope this helps. kaiyou On 10/17/2016 07:51 AM, Aki Tuomi wrote: > Hi! > > This does sound like a bug, we'll have look. > > Aki > > > On 17.10.2016 01:26, Pierre Jaury wrote: >> I dived a little bit further into the rabbit hole, up to the point

Re: Dict proxy client returning empty string instead of multiline string

2016-10-17 Thread Pierre Jaury
- add an optional "pool" attribute to the "client_dict_cmd" structure, - pass the pool to the async lookup function, - use the pool when escaping strings that should survive the callback chain What do you think? Regards, kaiyou On 10/17/2016 09:52 AM, Pierre Jaury wrot

Dict proxy client returning empty string instead of multiline string

2016-10-16 Thread Pierre Jaury
Hello, I am using a dict proxy for my sieve extdata plugin to access some fields from an SQLite database (autoreply text and other database-configured items). All tests are performed against version 2.2.25. $ dovecot --version 2.2.25 (7be1766) My configuration looks like: dict { siev

Re: Dict proxy client returning empty string instead of multiline string

2016-10-16 Thread Pierre Jaury
the memory pool reusing the string address and zeroing it in the process before the string copy operation. I will follow on this path tomorrow, any lead is more than welcome. kaiyou. On 10/16/2016 11:16 PM, Pierre Jaury wrote: > Hello, > > I am using a dict proxy for my sieve extdata p