[mythtv-commits] [MythTV/mythtv] af7963: Prevent data corruption in dvbchannel.cpp causing ...

kmdewaal noreply at github.com
Sat Mar 9 17:05:52 UTC 2019


  Branch: refs/heads/master
  Home:   https://github.com/MythTV/mythtv
  Commit: af7963e1e92115e0690bf8d0f4e074523874b41f
      https://github.com/MythTV/mythtv/commit/af7963e1e92115e0690bf8d0f4e074523874b41f
  Author: Simon Hyde <simon at icedrop.net>
  Date:   2019-02-26 (Tue, 26 Feb 2019)

  Changed paths:
    M mythtv/libs/libmythtv/recorders/dvbchannel.cpp

  Log Message:
  -----------
  Prevent data corruption in dvbchannel.cpp causing hang

m_is_open was being corrupted by multiple simultaneous modifications,
leading to it managing to create infinite loops within its underlying
data structure. This patch extends the locking of m_hw_lock to cover
all uses of m_is_open, preventing issues.


  Commit: f1151d48aedf3c0499a29ef615fb077abd7556a6
      https://github.com/MythTV/mythtv/commit/f1151d48aedf3c0499a29ef615fb077abd7556a6
  Author: kmdewaal <klaas at kldo.nl>
  Date:   2019-03-09 (Sat, 09 Mar 2019)

  Changed paths:
    M mythtv/libs/libmythtv/recorders/dvbchannel.cpp

  Log Message:
  -----------
  Merge pull request #178 from simonhyde/master

Extend use of m_hw_lock to serialize access to m_is_open.


Compare: https://github.com/MythTV/mythtv/compare/c08b7ae0e758...f1151d48aedf


More information about the mythtv-commits mailing list