Arnt Gulbrandsen wrote:
>On 04/20/2011 02:18 AM, Stephen R. van den Berg wrote:
>>      aox add user "$user" "$password" "$alias"

>I do see. The basic issue is that the frontend jump is faster than
>the backend: aox add user sends a NOTIFY, COMMIT, and when the commit
>returns, exits. The aox server fully expects to get the LISTEN for
>the NOTIFY before it manages to process the mailsync's LOGIN command.

It already "smelled" like something like that.

>I even know how to solve it. A thousand-line rewrite *sigh*.

It would be helpful if the subsequent LOGIN wouldn't segfault, and would
simply return a temporary error, or would wait for a few moments, then retry.
This bug opens up a small window of opportunity to crash any aox
server right after a user has been added (if one knows which user).
-- 
Stephen.

"Make it as simple as possible.  And no simpler."

Reply via email to