#107: c2s crash in sasl_server_step
--------------------+-------------------------------------------------------
Reporter:  bmuller  |        Owner:  sxw
    Type:  defect   |       Status:  new
Priority:  major    |    Component:  c2s
 Version:  2.1.8    |   Resolution:     
Keywords:           |     Blocking:     
--------------------+-------------------------------------------------------
Comment (by bmuller):

 Here's the output from valgrind:
 {{{
 ==14039== Invalid read of size 4
 ==14039==    at 0x647FFDF: (within /usr/lib/sasl2/libdigestmd5.so.2.0.22)
 ==14039==    by 0x45D42E6: sasl_server_step (in
 /usr/lib/libsasl2.so.2.0.22)
 ==14039==    by 0x805E103: _sx_sasl_client_process (sasl_cyrus.c:764)
 ==14039==    by 0x805E969: _sx_sasl_process (sasl_cyrus.c:904)
 ==14039==    by 0x805786F: _sx_process_read (io.c:125)
 ==14039==    by 0x8057C98: sx_can_read (io.c:218)
 ==14039==    by 0x8050F19: _c2s_client_mio_callback (c2s.c:432)
 ==14039==    by 0x8060B4F: _mio_run (mio_impl.h:251)
 ==14039==    by 0x805578E: main (main.c:639)
 ==14039==  Address 0x0 is not stack'd, malloc'd or (recently) free'd
 ==14039==
 ==14039== Process terminating with default action of signal 11 (SIGSEGV):
 dumping core
 ==14039==  Access not within mapped region at address 0x0
 ==14039==    at 0x647FFDF: (within /usr/lib/sasl2/libdigestmd5.so.2.0.22)
 ==14039==    by 0x45D42E6: sasl_server_step (in
 /usr/lib/libsasl2.so.2.0.22)
 ==14039==    by 0x805E103: _sx_sasl_client_process (sasl_cyrus.c:764)
 ==14039==    by 0x805E969: _sx_sasl_process (sasl_cyrus.c:904)
 ==14039==    by 0x805786F: _sx_process_read (io.c:125)
 ==14039==    by 0x8057C98: sx_can_read (io.c:218)
 ==14039==    by 0x8050F19: _c2s_client_mio_callback (c2s.c:432)
 ==14039==    by 0x8060B4F: _mio_run (mio_impl.h:251)
 ==14039==    by 0x805578E: main (main.c:639)
 }}}

-- 
Ticket URL: <http://jabberd2.xiaoka.com/ticket/107#comment:8>
jabberd2 <http://jabberd2.xiaoka.com/>
jabberd2 project
_______________________________________________
Jabberd2 mailing list
[email protected]
http://lists.xiaoka.com/listinfo.cgi/jabberd2-xiaoka.com

Reply via email to