possible bug in silcunixschedule.c (trunk)

Pekka Riikonen priikone at iki.fi
Wed May 9 07:28:15 CEST 2007


:   * internal->wakeup_task is only initialized if [SILC_THREADS]
:   * silc_schedule_internal_schedule_fd is called, which in turn
:     relies on internal->wakeup_task and segfauls because of null
:     pointer deref
: possible solution: call silc_schedule_internal_schedule_fd on
: [SILC_THREADS] only (i.e. move #ifdef down by three lines)
:
Yup, that's the fix.  Thanks.

: PS: I'm currently trying to get silc-client-1.1-beta2 to run with a
: silc-server (cvs), but failing.  I Always get
: `Error during key exchange with vs150090.vserver.de: Unsupported cipher'
: errors +  silcfsm.c:305: silc_fsm_finish: Assertion
: `silc_atomic_get_int32(&f->u.m.threads) == 0' failed
: 
The FSM assert is fixed in CVS and will be in next client release.  The 
Unsupported cipher error I cannot comment on without seeing debugs from 
the server (*server*,*ske*) and client (*client*,*ske*).  But the 1.1 
server is still in alpha stage so there's bound to be problems with it.

	Pekka
________________________________________________________________________
 Pekka Riikonen                                 priikone at silcnet.org
 Secure Internet Live Conferencing (SILC)       http://silcnet.org/


More information about the silc-devel mailing list