[vdr] vdr-1.5.6 crashing (workaround)
Malte Schröder
maltesch at gmx.de
Tue Jul 24 13:09:06 CEST 2007
On Mon, 23 Jul 2007 16:20:23 +0200
Malte Schröder <maltesch at gmx.de> wrote:
> Hello,
> when I switch for example to sunshine live 1.5.6 crashes. Plugins loaded
> are remote, skinenigmang and epgsearch.
This prevents vdr from crashing. But I don't understand how channel
can be a null-pointer in that code-path. It is only set at the start of
the method and then checked if it is a null-pointer. Okay, it is
being re-set a few lines before, but that is in the true part of the
condition.
--- vdr-1.5.6/eit.c 2007-07-21 16:58:04.000000000 +0200
+++ vdr-1.5.6.prod/eit.c 2007-07-24 12:06:46.000000000 +0200
@@ -209,7 +209,7 @@
LinkChannels->Add(new cLinkChannel(link));
}
}
- else
+ else if(channel)
channel->SetPortalName(linkName);
}
}
@@ -256,7 +256,7 @@
if (!HasExternalData)
pEvent->FixEpgBugs();
- if (LinkChannels)
+ if (LinkChannels && channel)
channel->SetLinkChannels(LinkChannels);
Modified = true;
}
--
---------------------------------------
Malte Schröder
MalteSch at gmx.de
ICQ# 68121508
---------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.linuxtv.org/pipermail/vdr/attachments/20070724/f90b5f90/attachment.pgp
More information about the vdr
mailing list