diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2017-04-24 09:25:29 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2017-04-24 09:25:29 +0200 |
commit | 3d63936a36c91592e46eeab8bc679f2b4ddd8d1f (patch) | |
tree | 6be875c9392cecc77a390237ceec6e9737f8fcba /ci.c | |
parent | 2e9060d549f41822f996b40deeccd8713c24acf9 (diff) | |
download | vdr-3d63936a36c91592e46eeab8bc679f2b4ddd8d1f.tar.gz vdr-3d63936a36c91592e46eeab8bc679f2b4ddd8d1f.tar.bz2 |
Fixed a possible crash when pulling the CAM while decrypting a channel with MTD
Diffstat (limited to 'ci.c')
-rw-r--r-- | ci.c | 5 |
1 files changed, 3 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.11 2017/04/11 16:45:55 kls Exp $ + * $Id: ci.c 4.12 2017/04/24 09:05:49 kls Exp $ */ #include "ci.h" @@ -1968,9 +1968,10 @@ void cCamSlot::Process(cTPDU *TPDU) case msNone: dbgprotocol("Slot %d: no module present\n", slotNumber); isyslog("CAM %d: no module present", slotNumber); - MtdActivate(false); + StopDecrypting(); DeleteAllConnections(); CancelActivation(); + MtdActivate(false); break; case msReset: dbgprotocol("Slot %d: module reset\n", slotNumber); |