When an emergency session sets back the EmergencyCall
property, all other session are notified. If a session
previously was not connected (online == FALSE) no
entry (services) was selected. We should not derefency
a NULL pointer in this case.
Fixes BMC#22880
}
break;
case CONNMAN_SESSION_TRIGGER_ECALL:
- if (info->online == FALSE && info->entry->service != NULL)
+ if (info->online == FALSE && info->entry != NULL &&
+ info->entry->service != NULL) {
test_and_disconnect(session);
+ }
break;
}