[SCM] kodi-pvr-vdr-vnsi/master: VNSIData: add missing lock to protect m_queue

tiber-guest at users.alioth.debian.org tiber-guest at users.alioth.debian.org
Sun Feb 28 15:46:47 UTC 2016


The following commit has been merged in the master branch:
commit bb2b0edbea724a2434f5b62eb38f674fb7e6c004
Author: Max Kellermann <max at duempel.org>
Date:   Wed Nov 4 20:15:52 2015 +0100

    VNSIData: add missing lock to protect m_queue

diff --git a/src/VNSIData.cpp b/src/VNSIData.cpp
index eebcf0d..2710c96 100644
--- a/src/VNSIData.cpp
+++ b/src/VNSIData.cpp
@@ -95,6 +95,7 @@ cResponsePacket* cVNSIData::ReadResult(cRequestPacket* vrp)
 
   if(!cVNSISession::TransmitMessage(vrp))
   {
+    CLockObject lock(m_mutex);
     m_queue.erase(vrp->getSerial());
     return NULL;
   }

-- 
kodi-pvr-vdr-vnsi packaging



More information about the pkg-multimedia-commits mailing list