From: Raoul S. <rao...@gm...> - 2010-09-02 11:32:19
|
Marcello, I downloaded the 1819 version, and I patched sccp_softkeys.c as below, and for right now, the 7936 seems to not crash the system anymore. But most likely, there can be a better fix for it. Best regards, Raoul Am 01.09.2010 12:48, schrieb Raoul Schroeder: > The offending line is: > > if(strlen(l->adhocNumber)>0) > > I assume somehow it is possible for l to be a NULL pointer, even > though just before you have this: > if(!l && d && d->currentLine) > l = d->currentLine; > > Anyway, not sure, but the fix may be as easy as > > if (l) > length=strlen(l->adhocNumber); > else > length = 0; > if (length > 0) > sccp_channel_newcall(l, d, l->adhocNumber, > SKINNY_CALLTYPE_OUTBOUND); > else > sccp_channel_newcall(l, d, NULL, > SKINNY_CALLTYPE_OUTBOUND); > > > But I feel like there is a much more fundamental problem beneath why > the 7936 even sent that. > > Thanks, > > Raoul > > > Am 01.09.2010 12:42, schrieb Raoul Schroeder: >> Sure... This is version 1809 (the one you put together on the 30th..) >> >> Thanks, >> >> Raoul >> >> Am 01.09.2010 11:48, schrieb Marcello Ceschia: >>> can you send me your sccp_softkeys.c, because sccp_softkeys.c:166 >>> isnt sccp_sk_newcall in my version. >>> >>> THX >>> Marcello |