Hello,

solid-pop3d-0.15p4-apop does not work for me on sparc64.
Connection gets closed right after successful authentication. 

I think the cause is an alignment problem:

In mailbox.c, mb_parse():
340:    char mbuf[128];
500:    md5_process_bytes(mbuf, mcount, &context);

md5.c, md5_process_bytes(const void *buffer, ...):
240:    md5_process_block(buffer, len & ~63, ctx);

md5.c, md5_process_block(const void *buffer, ...):
273:    const md5_uint32 *words = buffer;

Accessing this pointer (words) will lead to a bus error because
mbuf (and hence words) is not aligned. 

How should this be fixed? Use posix_memalign to align mbuf? 
Are there any better POP3 servers with APOP support?
And why did it work before (at least with OpenBSD 4.6)?

Thank you,

Michael

Reply via email to