From 49990dc5d536344c2a5793d0d21cb2880e5c5247 Mon Sep 17 00:00:00 2001 From: Andreas Monzner Date: Sat, 26 May 2007 15:26:03 +0000 Subject: [PATCH] fix segfault on ci init --- lib/dvb_ci/dvbci.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.30.2