On 24/10/11 11:22, Pavlo Zajichenko wrote:
I do not know how to report bug for OpenChange's libmapi. So I report the bug 
here in hope it will be useful.

OS: CentOS 5 (x64)
SOGO: 2.0.0b2
SAMBA: 4.0.0alpha17

Program terminated with signal 11, Segmentation fault.
#0  0x00002b98f23190a5 in IDSET_merge_idsets (mem_ctx=0x10a3c300, 
left=0x10a3d950, right=0x10a3d830) at libmapi/idset.c:811
811                             current->ranges->prev->next = range;

Replacing line 811 in libmapi/idset.c
                         current->ranges->prev->next = range;
with
                         if (current->ranges)
                                 current->ranges->prev->next = range;
                         else
                                 current->ranges = range;
fixes the bug. But I am not sure the bug is absolutely correct.

Best regards,
Pavlo Zajichenko
The fix should rather be something along the lines of r3363 in openchange (sogo branch) - can you test that fix instead?

Thanks,

--
Ludovic Marcotte
[email protected]  ::  +1.514.755.3630  ::  www.inverse.ca
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence 
(www.packetfence.org)

--
[email protected]
https://inverse.ca/sogo/lists

Reply via email to