[mythtv-commits] [MythTV/mythtv] adc2c4: Fix segfault in capture card editor

kmdewaal noreply at github.com
Sat Aug 17 15:55:05 UTC 2019


  Branch: refs/heads/master
  Home:   https://github.com/MythTV/mythtv
  Commit: adc2c4f0416d770fd4e1b22bc07719671ddc9cfd
      https://github.com/MythTV/mythtv/commit/adc2c4f0416d770fd4e1b22bc07719671ddc9cfd
  Author: Klaas de Waal <kdewaal at mythtv.org>
  Date:   2019-08-17 (Sat, 17 Aug 2019)

  Changed paths:
    M mythtv/libs/libmythtv/diseqc.cpp

  Log Message:
  -----------
  Fix segfault in capture card editor

There can be a segmentation fault in the capture card editor
of mythtv-setup when configuring DVB-S satellite cards.
This happens when a capture card is changed from DVB-S,with
a configured input type of LNB (anything but not Unconnected),
to another type of DVB card.
After the capture card has been changed to a non-DVB-S type and
the DiSEqC tree has been deleted, a "Save then Exit" refers
to the already deleted DiSEqC tree. This creates a segmentation fault.
There are many more things to fix in the DiSEqC configuration
code and once this is done the "delete m_root" can be enabled again.
For now it is better to have a memory leak than a segmentation fault.

Refs #13465




More information about the mythtv-commits mailing list