diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2017-04-26 09:18:26 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2017-04-26 09:18:26 +0200 |
commit | a1fda4f2182b99404cef8dca44e388d3482b2f69 (patch) | |
tree | fa39c30544b969a805baa8cbb811d068396cc903 /ci.c | |
parent | 1a31974789d2e9e78f0ae6bc5ab776c0f8f1db6a (diff) | |
download | vdr-a1fda4f2182b99404cef8dca44e388d3482b2f69.tar.gz vdr-a1fda4f2182b99404cef8dca44e388d3482b2f69.tar.bz2 |
Fixed a possible crash when pulling the CAM while decrypting a channel with MTD (cont'd)
Diffstat (limited to 'ci.c')
-rw-r--r-- | ci.c | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: ci.c 4.12 2017/04/24 09:05:49 kls Exp $ + * $Id: ci.c 4.13 2017/04/26 09:18:26 kls Exp $ */ #include "ci.h" @@ -1971,7 +1971,10 @@ void cCamSlot::Process(cTPDU *TPDU) StopDecrypting(); DeleteAllConnections(); CancelActivation(); - MtdActivate(false); + if (mtdHandler) + mtdHandler->UnAssignAll(); + else + Assign(NULL); break; case msReset: dbgprotocol("Slot %d: module reset\n", slotNumber); |