From 4bfe34bf5dbaa005db9cf2b7c82bbd5942f486f7 Mon Sep 17 00:00:00 2001 From: Jacek Jendrzej Date: Fri, 17 Feb 2017 11:09:53 +0100 Subject: [PATCH] src/driver/scanepg.cpp avoid possible segfault --- src/driver/scanepg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/driver/scanepg.cpp b/src/driver/scanepg.cpp index bd903b162..586c9023a 100644 --- a/src/driver/scanepg.cpp +++ b/src/driver/scanepg.cpp @@ -160,7 +160,7 @@ bool CEpgScan::AddSelected() void CEpgScan::AddTransponders() { - if(bouquetList->Bouquets.empty()) + if(!bouquetList || bouquetList->Bouquets.empty()) return; if (current_mode != g_settings.epg_scan) {