[vdr] [PATCH] vdr-1.3.39 & crash bug in schedule
Klaus Schmidinger
Klaus.Schmidinger at cadsoft.de
Sun Jan 22 23:32:58 CET 2006
Rolf Ahrenberg wrote:
> On Sat, 21 Jan 2006, Klaus Schmidinger wrote:
>
>> Since cEvent::FixEpgBugs() is called for all events that are
>> broadcast, it now makes sure every event actually has a non-NULL
>> title. The only loophole left is SVDRP's PUTE command, but the
>
>
> I'm not using any external EPG data and as I said in my earlier mail,
> the modification of FixEpgBugs() isn't enough and VDR 1.3.40 is crashing
> like before.
>
> Fortunately my patch mentioned in the first message of this thread works
> quite nicely also with VDR 1.3.40, so finnish users can also enjoy the
> EPG search feature.
I'm afraid I don't see why it would still crash.
You patched those places in menu.c where an event tile was
dereferenced. Now the code
if (!title) {
// we don't want any "(null)" titles
title = strcpyrealloc(title, tr("No title"));
EpgBugFixStat(12, ChannelID());
}
in cEvent::FixEpgBugs() makes sure that every event has a
non-NULL title. So where exactly does it crash?
Klaus
More information about the vdr
mailing list