Hello, > I have a problem where my imap server (dovecot) is crashing inside > openssl when getting APPEND requests from the Mac mail client: > > #0 0x0000000000419fbc in tls1_mac () > #1 0x000000000042e25b in ssl3_read_bytes () > #2 0x000000000042bcb4 in ssl3_read () > #3 0x0000000000407dc8 in ssl_read (proxy=0x643000) at ssl-proxy- > openssl.c:395 > #4 0x0000000000407e39 in ssl_step (context=Variable "context" is not > available. > ) at ssl-proxy-openssl.c:440 > #5 0x0000000000410209 in io_loop_handler_run (ioloop=0x639fa0) at > ioloop-poll.c:199 > #6 0x000000000040f6da in io_loop_run (ioloop=0x639fa0) at ioloop.c:326 > #7 0x0000000000406792 in main (argc=1, argv=0x7fbffffc08, > envp=0x7fbffffc18) at main.c:432 > > It happens with both 0.9.7a and 0.9.8e. I'll recompile ssl with "-g" but > in the mean time I have two questions: > > 1. Is openssl guaranteed not to segfault even with invalid data from the > remote client? No (as any other software).
> 2. I had already specified -DTLS_DEBUG when compiling openssl but > nothing appears in the logs. How do I get the debug data to appear in a > file? I have the source to dovecot. This additional messages are printed on stderr (or stdout - I do not remember exactly). Best regards, -- Marek Marcola <[EMAIL PROTECTED]> ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [email protected] Automated List Manager [EMAIL PROTECTED]
