From 6ffff7498d351efd4312fcf769207f720e5e966b Mon Sep 17 00:00:00 2001 From: Gujs Date: Wed, 14 Mar 2012 14:37:39 +0100 Subject: [PATCH] xbmc-pvr: add patch to solve xbmc crashes with using tvheadend pvr client addon for Live TV --- ...do_not_destroy_messages_in_the_parse.patch | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 packages/mediacenter/xbmc-pvr/patches/xbmc-pvr-c50f565-991-tvheadend_add_on_do_not_destroy_messages_in_the_parse.patch diff --git a/packages/mediacenter/xbmc-pvr/patches/xbmc-pvr-c50f565-991-tvheadend_add_on_do_not_destroy_messages_in_the_parse.patch b/packages/mediacenter/xbmc-pvr/patches/xbmc-pvr-c50f565-991-tvheadend_add_on_do_not_destroy_messages_in_the_parse.patch new file mode 100644 index 0000000000..1c0e0b3aae --- /dev/null +++ b/packages/mediacenter/xbmc-pvr/patches/xbmc-pvr-c50f565-991-tvheadend_add_on_do_not_destroy_messages_in_the_parse.patch @@ -0,0 +1,26 @@ +From 87f59ed6f5a8874b484a3af614a94a62c928c1e4 Mon Sep 17 00:00:00 2001 +From: Lars Op den Kamp +Date: Tue, 13 Mar 2012 15:03:13 +0100 +Subject: [PATCH] tvheadend add-on: don't destroy messages in the Parse...() + methods. fixes crash when an invalid EPG result was + received from the server. closes #452 + +--- + xbmc/pvrclients/tvheadend/HTSPData.cpp | 1 - + 1 files changed, 0 insertions(+), 1 deletions(-) + +diff --git a/xbmc/pvrclients/tvheadend/HTSPData.cpp b/xbmc/pvrclients/tvheadend/HTSPData.cpp +index 9add621..19943ba 100644 +--- a/xbmc/pvrclients/tvheadend/HTSPData.cpp ++++ b/xbmc/pvrclients/tvheadend/HTSPData.cpp +@@ -999,7 +999,6 @@ bool CHTSPData::ParseEvent(htsmsg_t* msg, uint32_t id, SEvent &event) + { + XBMC->Log(LOG_DEBUG, "%s - malformed event", __FUNCTION__); + htsmsg_print(msg); +- htsmsg_destroy(msg); + return false; + } + event.Clear(); +-- +1.7.5.4 +