[Dovecot] Assertion failed: (pos < input->size)
Asheesh Laroia
asheesh at asheesh.org
Mon Oct 22 22:27:31 EEST 2007
On Mon, 22 Oct 2007, Timo Sirainen wrote:
> On Mon, 2007-10-22 at 10:16 -0700, Asheesh Laroia wrote:
>> On Sun, 21 Oct 2007, Asheesh Laroia wrote:
>>
>>> I fear that the real problem is in base64_decode, but for now I'm
>>> going to sleep instead of drowsily being confused by a debugger.
>>
>> When I add the attached patch, which just adds two asserts toward the
>> end of base64_decode(), I can get base64_decode to admit that it
>> advanced the pos pointer beyond where it should be.
>
> I guess this fixes it: http://hg.dovecot.org/dovecot/rev/d81a50101724
Indeed it does! Super fast searches are go, and seem to give the right
results. (-:
In fact, SEARCH TEXT (instantaneous) seems to be a lot faster than SEARCH
FROM (a few seconds) right now!
-- Asheesh.
--
Out of sight is out of mind.
-- Arthur Clough
More information about the dovecot
mailing list