Strange LMTP crash
Simon Matter
simon.matter at invoca.ch
Tue Jul 14 14:49:00 EDT 2009
> --On July 14, 2009 1:51:17 PM -0400 Ben Carter <bhc at pitt.edu> wrote:
>
>> Michael Bacon wrote:
>>> Hi, all,
>>>
>>> I'm working through a bizarre segfault from lmtpd that occurs following
>>> a rcpt to: command. The best I can describe what's going on is that
>>> somehow the NULL value stored in the authstate pointer is getting
>>> changed to 0x1010101 when passed to the verify_user function. Here's
>>> a
>>> relevant GDB snippet:
>>
>> <snippet snipped>
>>
>> I already found this. The quota that is passed to verify_user() by
>> process_recipient() has to be a quota_t, not an int. A patch was
>> already
>> submitted.
>>
>> Ben
>>
>> --
>> Ben Carter
>> University of Pittsburgh/CSSD
>> bhc at pitt.edu
>> 412-624-6470
>
>
> Thank you! Just for the record, was this essentially your patch?
I think you are looking for this one:
http://github.com/brong/cyrus-imapd/commit/ec1bfcf6a1db9c86cbf55b9c25d7eb044dbbe51b#diff-0
Question to the official maintainers: Wouldn't it make sense to release a
2.3.15 just to get rid of those issues?
Regards,
Simon
More information about the Info-cyrus
mailing list