[mythtv-firehose] mythtv/master commit: e7b14849a by Chris Pinkham (cpinkham)

MythTV noreply at mythtv.org
Wed Oct 19 02:58:27 UTC 2011


      Author:  Chris Pinkham <cpinkham at mythtv.org>
 Change Date:  2011-10-18T19:54:31-07:00
   Push Date:  2011/10/18 19:58:14 -0700
  Repository:  mythtv
      Branch:  master
New Revision:  e7b14849adf4f97cda5798eb668bf457776fa7b5
   Changeset:  https://github.com/MythTV/mythtv/commit/e7b14849a

Log:

Fix race condition and potential segfault in MythDownloadManager.

Put a lock around the creation of the MythDownloadManager to make
sure we don't get two created by a potential race condition.

Put a lock around access to the QNetworkDiskCache when called
via MythDownloadManager::GetLastModified().

Fixes #9231 using ideas from Jonatan from comhem.se, but most of
the patch (and potential issues) are mine.

Modified:

   mythtv/libs/libmythbase/mythdownloadmanager.cpp



More information about the mythtv-firehose mailing list