Project

General

Profile

Files » vdr-upnp_segfault.diff

EPG Segfault Patch - methodus, 12/18/2009 10:45 PM

View differences:

/tmp/metadata.cpp 2009-12-03 17:16:46.000000000 +0100
){
MESSAGE(VERBOSE_EPG_UPDATES, "Find channel by number %d", ChannelItem->getChannelNr());
cChannel* Channel = Channels.GetByNumber(ChannelItem->getChannelNr());
if (Channel==NULL)
continue;
MESSAGE(VERBOSE_EPG_UPDATES, "Found channel with ID %s", *Channel->GetChannelID().ToString());
const cSchedule* Schedule = Schedules->GetSchedule(Channel);
......
return UPNP_CDS_E_NO_SUCH_OBJECT; // No such object;
}
return UPNP_SOAP_E_ACTION_FAILED;
}
}
(2-2/3)