From: Andreas Monzner Date: Sat, 26 May 2007 15:26:03 +0000 (+0000) Subject: fix segfault on ci init X-Git-Tag: 2.6.0~2213 X-Git-Url: https://git.cweiske.de/enigma2.git/commitdiff_plain/49990dc5d536344c2a5793d0d21cb2880e5c5247 fix segfault on ci init --- diff --git a/lib/dvb_ci/dvbci.cpp b/lib/dvb_ci/dvbci.cpp index 17754adf..800a40d2 100644 --- a/lib/dvb_ci/dvbci.cpp +++ b/lib/dvb_ci/dvbci.cpp @@ -124,7 +124,7 @@ int eDVBCIInterfaces::sendCAPMT(int slotid) while (it != m_pmt_handlers.end()) { eDVBCISlot *tmp = it->cislot; - while (tmp != slot) + while (tmp && tmp != slot) tmp = tmp->linked_next; if (tmp) {