[mythtv-commits] [MythTV/mythtv] e8b5be: Segmentation fault in mythfrontend guide when ther...

kmdewaal noreply at github.com
Tue Dec 20 22:52:06 UTC 2022


  Branch: refs/heads/master
  Home:   https://github.com/MythTV/mythtv
  Commit: e8b5be6887c78a9836e1ca9aab0a205596ab5c66
      https://github.com/MythTV/mythtv/commit/e8b5be6887c78a9836e1ca9aab0a205596ab5c66
  Author: Klaas de Waal <klaas at kldo.nl>
  Date:   2022-12-20 (Tue, 20 Dec 2022)

  Changed paths:
    M mythtv/programs/mythfrontend/guidegrid.cpp

  Log Message:
  -----------
  Segmentation fault in mythfrontend guide when there are no channels

Avoid accessing the first channel if the number of channels is 0 when showing the guide grid.
The code to compute the m_channelCount is now simplified and this solves the problem.
However, it remains a mystery what the purpose of the original code was.
Thanks to ulmus-scott for providing a first version of this fix in PR#648.




More information about the mythtv-commits mailing list