Mailing List Archive

[MythTV/mythtv] 83e1df: Fix mythbackend segfault after failed Live TV
Branch: refs/heads/fixes/33
Home: https://github.com/MythTV/mythtv
Commit: 83e1df82c2094586a585b8d5cde9de14e9be0735
https://github.com/MythTV/mythtv/commit/83e1df82c2094586a585b8d5cde9de14e9be0735
Author: Klaas de Waal <klaas@kldo.nl>
Date: 2023-07-02 (Sun, 02 Jul 2023)

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

Log Message:
-----------
Fix mythbackend segfault after failed Live TV

A failing Live TV can cause a segfault of mythbackend
due to a delete of an already deleted object.
This is not immediately obvious due to pointer
aliasing but valgrind figures it out anyway.

(cherry picked from commit 68b368673704f35072dbc3fb44e0c8444d737963)
Signed-off-by: Klaas de Waal <klaas@kldo.nl>


_______________________________________________
mythtv-commits mailing list
mythtv-commits@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-commits