Fixed triggered by disconnect collision crash

This commit is contained in:
MelwareDE 2011-05-11 09:03:17 +00:00
parent 43e2232a0e
commit c1e0bc653b
1 changed files with 1 additions and 1 deletions

View File

@ -4009,7 +4009,7 @@ static void capidev_sendback_info(struct capi_pvt *i, _cmsg *CMSG)
i2 = CC_CHANNEL_PVT(i->peer);
if (!(i2->ntmode))
if ((i2 == NULL) || (!(i2->ntmode)))
return;
length = INFO_IND_INFOELEMENT(CMSG)[0];